From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T6TRW-0000SN-Rm for barebox@lists.infradead.org; Tue, 28 Aug 2012 21:35:28 +0000 Received: from localhost.localdomain (unknown [82.233.81.124]) by smtp3-g21.free.fr (Postfix) with ESMTP id 8CFC6A61F3 for ; Tue, 28 Aug 2012 23:35:19 +0200 (CEST) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Tue, 28 Aug 2012 23:35:17 +0200 Message-Id: <1346189717-10476-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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] i.MX35: add cspi1 support To: barebox@lists.infradead.org dGVzdGVkIHdpdGggYSBtMjVwMTI4IGZsYXNoIGJvdGggaW4gbmFuZCBib290ICYgc3BpIGJvb3Qu CgpTaWduZWQtb2ZmLWJ5OiBFcmljIELDqW5hcmQgPGVyaWNAZXVrcmVhLmNvbT4KLS0tCiBhcmNo L2FybS9tYWNoLWlteC9pbmNsdWRlL21hY2gvZGV2aWNlcy1pbXgzNS5oIHwgICAgNSArKysrKwog YXJjaC9hcm0vbWFjaC1pbXgvaW5jbHVkZS9tYWNoL2lteDM1LXJlZ3MuaCAgICB8ICAgIDIgKysK IGFyY2gvYXJtL21hY2gtaW14L3NwZWVkLWlteDM1LmMgICAgICAgICAgICAgICAgfCAgICA1ICsr KysrCiBkcml2ZXJzL3NwaS9LY29uZmlnICAgICAgICAgICAgICAgICAgICAgICAgICAgIHwgICAg MiArLQogZHJpdmVycy9zcGkvaW14X3NwaS5jICAgICAgICAgICAgICAgICAgICAgICAgICB8ICAg IDIgKy0KIDUgZm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