From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 7.mo4.mail-out.ovh.net ([178.33.253.54] helo=mo4.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TbQ5V-0002lH-1z for barebox@lists.infradead.org; Thu, 22 Nov 2012 06:16:38 +0000 Received: from mail187.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 553BA1054991 for ; Thu, 22 Nov 2012 07:24:24 +0100 (CET) Date: Thu, 22 Nov 2012 07:14:38 +0100 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20121122061438.GR8327@game.jcrosoft.org> References: <1353564096-18861-1-git-send-email-zzs213@126.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1353564096-18861-1-git-send-email-zzs213@126.com> 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: Re: [PATCH] read cfi device id according the bus width To: =?utf-8?B?5byg5b+g5bGx?= Cc: barebox@lists.infradead.org T24gMTQ6MDEgVGh1IDIyIE5vdiAgICAgLCDlvKDlv6DlsbEgd3JvdGU6Cj4gU2lnbmVkLW9mZi1i eTog5byg5b+g5bGxIDx6enMyMTNAMTI2LmNvbT4KPiAtLS0KPiAgZHJpdmVycy9ub3IvY2ZpX2Zs YXNoX2FtZC5jIHwgICAgNyArKysrKy0tCj4gIDEgZmlsZXMgY2hhbmdlZCwgNSBpbnNlcnRpb25z KCspLCAyIGRlbGV0aW9ucygtKQo+IAo+IGRpZmYgLS1naXQgYS9kcml2ZXJzL25vci9jZmlfZmxh c2hfYW1kLmMgYi9kcml2ZXJzL25vci9jZmlfZmxhc2hfYW1kLmMKPiBpbmRleCA0NWM1OWI5Li4z YWI0YmUwIDEwMDY0NAo+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