From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phycard.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uou3B-0005V5-Dd for barebox@lists.infradead.org; Tue, 18 Jun 2013 11:26:19 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 88A2CBF0ED for ; Tue, 18 Jun 2013 13:21:06 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Tue, 18 Jun 2013 13:25:47 +0200 Message-Id: <1371554747-9052-4-git-send-email-t.gamez@phytec.de> In-Reply-To: <1371554747-9052-1-git-send-email-t.gamez@phytec.de> References: <1371554747-9052-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 3/3] ARM: OMAP: pcm051: Add spi flash support To: barebox@lists.infradead.org QWRkIHN1cHBvcnQgZm9yIHcyNXE2NCBTUEkgTk9SIGZsYXNoLgoKU2lnbmVkLW9mZi1ieTogVGVy ZXNhIEfDoW1leiA8dC5nYW1lekBwaHl0ZWMuZGU+Ci0tLQogYXJjaC9hcm0vYm9hcmRzL3BjbTA1 MS9ib2FyZC5jICAgICAgICAgICAgICAgfCAgIDQxICsrKysrKysrKysrKysrKysrKysrKysrKysr CiBhcmNoL2FybS9ib2FyZHMvcGNtMDUxL2Vudi9pbml0L210ZHBhcnRzLW5vciB8ICAgMTIgKysr KysrKwogYXJjaC9hcm0vY29uZmlncy9wY20wNTFfZGVmY29uZmlnICAgICAgICAgICAgfCAgICAz ICstCiAzIGZpbGVzIGNoYW5nZWQsIDU1IGluc2VydGlvbnMoKyksIDEgZGVsZXRpb25zKC0pCiBj cmV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