From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UPrLK-0000Ie-9u for barebox@lists.infradead.org; Wed, 10 Apr 2013 09:29:28 +0000 Received: from e6520eb.local.eukrea.com (unknown [82.240.38.71]) by smtp2-g21.free.fr (Postfix) with ESMTP id C22734B01D4 for ; Wed, 10 Apr 2013 11:29:19 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Wed, 10 Apr 2013 11:29:18 +0200 Message-Id: <1365586158-25213-1-git-send-email-eric@eukrea.com> 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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] nand_base: detect more ONFI flash To: barebox@lists.infradead.org aWYgdGhlIGZsYXNoIGhhcyBhIGtub3duIHR5cGUsIHRoZSBPTkZJIGRldGVjdGlvbiB3b24ndCBv Y2N1cgphbmQgdGh1cyB3ZSBtYXkgbm90IGRldGVjdCB0aGUgcmlnaHQgcGFyYW1ldGVycy4KQnkg dGVzdGluZyBib3RoIG5hbWQgYW5kIHBhZ2VzaXplLCBhcyBkb25lIGluIHRoZSBrZXJuZWwsIHdl CmNhbiBkZXRlY3QgT05GSSBmbGFzaCB3aXRoIGtub3cgSURzLgoKQXMgYW4gZXhhbXBsZSBvbiBh biBpLk1YNTMgYm9hcmQgOgotIHdpdGhvdXQgdGhlIHBhdGNoIDoKTkFORCBkZXZpY2U6IE1hbnVm YWN0dXJlciBJRDogMHgyYywgQ2hpcCBJRDogMHhkMwooTWljcm9uIE5BTkQgMUdpQiAzLDNWIDgt Yml0KSwgcGFnZSBzaXplOiA0MDk2LCBPT0Igc2l6ZTogMTI4CgotIHdpdGggdGhlIHBhdGN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