From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycore.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwBKH-0008Pj-Q0 for barebox@lists.infradead.org; Mon, 08 Jul 2013 13:18:04 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 2E3C6BF0FC for ; Mon, 8 Jul 2013 15:11:24 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Mon, 8 Jul 2013 15:17:00 +0200 Message-Id: <1373289430-6965-2-git-send-email-t.gamez@phytec.de> In-Reply-To: <1373289430-6965-1-git-send-email-t.gamez@phytec.de> References: <1373289430-6965-1-git-send-email-t.gamez@phytec.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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 02/12] PCM051: Add basic nand support To: barebox@lists.infradead.org QWRkIGJhc2ljIE5BTkQgc3VwcG9ydCBmb3IgcGNtMDUxLgoKU2lnbmVkLW9mZi1ieTogVGVyZXNh IEfDoW1leiA8dC5nYW1lekBwaHl0ZWMuZGU+Ci0tLQogYXJjaC9hcm0vYm9hcmRzL3BjbTA1MS9i b2FyZC5jICAgICAgICAgICAgICAgIHwgICA1NCArKysrKysrKysrKysrKysrKysrKysrKy0KIGFy Y2gvYXJtL2JvYXJkcy9wY20wNTEvZW52L2Jvb3QvbmFuZC11YmkgICAgICB8ICAgMTAgKysrKysK IGFyY2gvYXJtL2JvYXJkcy9wY20wNTEvZW52L2luaXQvbXRkcGFydHMtbmFuZCB8ICAgMTEgKysr KysKIGFyY2gvYXJtL2NvbmZpZ3MvcGNtMDUxX2RlZmNvbmZpZyAgICAgICAgICAgICB8ICAgIDMg KwogN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