From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TKpi8-0007ES-F3 for barebox@lists.infradead.org; Sun, 07 Oct 2012 12:11:57 +0000 From: Sascha Hauer Date: Sun, 7 Oct 2012 14:11:53 +0200 Message-Id: <1349611913-31580-1-git-send-email-s.hauer@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: =?UTF-8?q?=5BPATCH=5D=20ARM=20i=2EMX=3A=20Print=20silicon=20revision=20in=20common=20place?= To: barebox@lists.infradead.org UmF0aGVyIHRoYW4gZG9pbmcgdGhpcyBpbiB0aGUgU29DIHNwZWNpZmljIGNvZGUganVzdCBwcmlu dAppdCBpbiBpbXhfc2V0X3NpbGljb25fcmV2aXNpb24uIFRoaXMgc2F2ZXMgc29tZSBsaW5lcyBv ZiBjb2RlCmFuZCBhbHNvIHJlc3VsdHMgaW4gaS5NWDI3IG5vdyBhbHNvIGhhdmluZyB0aGUgc2ls aWNvbiByZXZpc2lvbgpwcmludGVkIGR1cmluZyBzdGFydHVwLgoKU2lnbmVkLW9mZi1ieTogU2Fz Y2hhIEhhdWVyIDxzLmhhdWVyQHBlbmd1dHJvbml4LmRlPgotLS0KIGFyY2gvYXJtL21hY2gtaW14 L2lteC5jICAgICAgICAgICAgICAgICAgIHwgICAgNiArKysrKy0KIGFyY2gvYXJtL21hY2gtaW14 L2lteDI3LmMgICAgICAgICAgICAgICAgIHwgICAgMiArLQogYXJjaC9hcm0vbWFjaC1pbXgvaW14 MzUuYyAgICAgICAgICAgICAgICAgfCAgICAyICstCiBhcmNoL2FybS9tYWNoLWlteC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