From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.tricorecenter.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwU9Y-0002xx-AD for barebox@lists.infradead.org; Tue, 09 Jul 2013 09:24:16 +0000 From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Tue, 9 Jul 2013 11:23:18 +0200 Message-Id: <1373361802-31080-8-git-send-email-t.gamez@phytec.de> In-Reply-To: <1373361802-31080-1-git-send-email-t.gamez@phytec.de> References: <1373361802-31080-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: [PATCHv2 08/12] PCM051: Add first stage support To: barebox@lists.infradead.org Cc: Shravan kumar RnJvbTogU2hyYXZhbiBrdW1hciA8c2hyYXZhbi5rQHBoeXRlYy5pbj4KClRoaXMgcGF0Y2ggYWRk cyBmaXJzdCBzdGFnZSBzdXBwb3J0IGZvciBQQ00wNTEuCgpTaWduZWQtb2ZmLWJ5OiBTaHJhdmFu IGt1bWFyIDxzaHJhdmFuLmtAcGh5dGVjLmluPgpTaWduZWQtb2ZmLWJ5OiBUZXJlc2EgR8OhbWV6 IDx0LmdhbWV6QHBoeXRlYy5kZT4KLS0tCkNoYW5nZXMgaW4gdjI6Ci0gZml4ZWQgYWxpZ21lbnQg YW5kIHJlZ2lzdGVyIGFkcmVzcwogIG9yZGVyIGluIG1hY2gvYW0zM3h4LXNpbGljb24uaAoKIGFy Y2gvYXJtL2JvYXJkcy9wY20wNTEvYm9hcmQuYyAgICAgICAgICAgICAgICAgICB8ICAgIDEgKwog YXJjaC9hcm0vYm9hcmRzL3BjbTA1MS9lbnYvYm9vdC9zZCAgICAgICAgICAgICAgIHwgICAgM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