From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.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-0008Pv-Px for barebox@lists.infradead.org; Mon, 08 Jul 2013 13:18:06 +0000 From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Mon, 8 Jul 2013 15:17:06 +0200 Message-Id: <1373289430-6965-8-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 08/12] PCM051: Add first stage support To: barebox@lists.infradead.org Cc: Shravan kumar RnJvbTogU2hyYXZhbiBrdW1hciA8c2hyYXZhbi5rQHBoeXRlYy5pbj4KClRoaXMgcGF0Y2ggYWRk cyBmaXJzdCBzdGFnZSBzdXBwb3J0IGZvciBQQ00wNTEuCgpTaWduZWQtb2ZmLWJ5OiBTaHJhdmFu IGt1bWFyIDxzaHJhdmFuLmtAcGh5dGVjLmluPgpTaWduZWQtb2ZmLWJ5OiBUZXJlc2EgR8OhbWV6 IDx0LmdhbWV6QHBoeXRlYy5kZT4KLS0tCiBhcmNoL2FybS9ib2FyZHMvcGNtMDUxL2JvYXJkLmMg ICAgICAgICAgICAgICAgICAgfCAgICAxICsKIGFyY2gvYXJtL2JvYXJkcy9wY20wNTEvZW52L2Jv b3Qvc2QgICAgICAgICAgICAgICB8ICAgIDIgKy0KIGFyY2gvYXJtL2JvYXJkcy9wY20wNTEvbG93 bGV2ZWwuYyAgICAgICAgICAgICAgICB8ICAyMDYgKysrKysrKysrKysrKysrKysrKysrKwogYXJj aC9hcm0vY29uZml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QorI2RlZmluZSBVQVJUX1NZU1NUU19PRkZTRVQgICgweDU4KQorCisjZGVmaW5lIFVBUlRfUkVT RVQgICAgICAoMHgxIDw8IDEpCisjZGVmaW5lIFVBUlRfQ0xLX1JVTk5JTkdfTUFTSyAgIDB4MQor I2RlZmluZSBVQVJUX1NNQVJUX0lETEVfRU4gICgweDEgPDwgMHgzKQorCisvKiBBTTMzNVggRU1J RiBSZWdpc3RlciB2YWx1ZXMgKi8KKyNkZWZpbmUgVlRQX0NUUkxfUkVBRFkgICAgICAgICAgKDB4 MSA8PCA1KQorI2RlZmluZSBWVFBfQ1RSTF9FTkFCTEUgICAgICAgICAoMHgxIDw8IDYpCisjZGVm aW5lIFZUUF9DVFJMX1NUQVJUX0VOICAgICAgICgweDEpCisjZGVmaW5lIENNRF9GT1JDRSAgICAg ICAgICAgICAgMHgwMCAgICAvKiBjb21tb24gI2RlZiAqLworI2RlZmluZSBDTURfREVMQVkgICAg ICAgICAgICAgIDB4MDAKKworI2RlZmluZSBFTUlGX1JFQURfTEFURU5DWSAgICAgICAweDA2Cisj ZGVmaW5lIEVNSUZfU0RDRkcgICAgICAgICAgICAgIDB4NjFDMDQ4MzIgLyogQ0wgNSwgQ1dMIDUg Ki8KKyNkZWZpbmUgRU1JRl9TRFJFRiAgICAgICAgICAgICAgMHgwMDAwMDkzQgorCisjZGVmaW5l IEVNSUZfVElNMSAgICAgICAgICAgICAgIDB4MDY2OEEzOUIKKyNkZWZpbmUgRU1JRl9USU0yICAg ICAgICAgICAgICAgMHgyNjMzN0ZEQQorI2RlZmluZSBFTUlGX1RJTTMgICAgICAgICAgICAgICAw eDUwMUY4MzBGCisKKyNkZWZpbmUgRExMX0xPQ0tfRElGRiAgICAgICAgICAgMHgwCisjZGVmaW5l IFBIWV9XUl9EQVRBICAgICAgICAgICAgIDB4QzEKKyNkZWZpbmUgUkRfRFFTICAgICAgICAgICAg ICAgICAgMHgzQgorI2RlZmluZSBXUl9EUVMgICAgICAgICAgICAgICAgIC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