From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 68.mail-out.ovh.net ([91.121.185.69]) by canuck.infradead.org with smtp (Exim 4.72 #1 (Red Hat Linux)) id 1P5y2q-0005iw-J3 for barebox@lists.infradead.org; Wed, 13 Oct 2010 09:54:49 +0000 From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Wed, 13 Oct 2010 11:54:44 +0200 Message-Id: <1286963684-16359-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] unbreak bootm To: s.hauer@pengutronix.de Cc: barebox@lists.infradead.org Y29tbWl0IGEzYzFlNWQ4ODhkMGVlMzE3ZmZjNzYzNTY5NDY4NGJiNzEyMTNjOWMgd2FzCm5vdCB0 ZXN0ZWQgYXMgYWxsIHRoZSB0ZXN0cyBhcmUgd3JvbmcgYW5kIGl0IGJyZWFrcyBib290bQoKU2ln bmVkLW9mZi1ieTogRXJpYyBCw6luYXJkIDxlcmljQGV1a3JlYS5jb20+Ci0tLQogY29tbWFuZHMv Ym9vdG0uYyB8ICAgIDYgKysrLS0tCiAxIGZpbGVzIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwg MyBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9jb21tYW5kcy9ib290bS5jIGIvY29tbWFuZHMv Ym9vdG0uYwppbmRleCA4M2QzNmQzLi42NjZkZWViIDEwMDY0NAotLS0gYS9jb21tYW5kcy9ib290 bS5jCisrKyBiL2NvbW1hbmRzL2Jvb3RtLmMKQEAgLTE2Nyw3ICsxNjcsNyBAQCBzdHJ1Y3QgaW1h Z2VfaGFuZGxlICptYXBfaW1hZ2UoY29uc3QgY2hhciAqZmlsZW5hbWUsIGludCB2ZXJpZnk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