From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UVLca-0008B7-B9 for barebox@lists.infradead.org; Thu, 25 Apr 2013 12:49:57 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 25 Apr 2013 14:49:47 +0200 Message-Id: <1366894187-25299-1-git-send-email-u.kleine-koenig@pengutronix.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] of: fix how an initrd is passed to Linux To: barebox@lists.infradead.org TGludXggZXhwZWN0cyBsaW51eCxpbml0cmQtZW5kIHRvIGNvbnRhaW4gdGhlIGZpcnN0IHVudXNl ZCBhZGRyZXNzLiBBcwp0aGlzIGRvZXNuJ3QgbWF0Y2ggdGhlIGVuZCBzZW1hbnRpYyB1c2VkIGJ5 IGJhcmVib3ggKGkuZS4gZW5kIGNvbnRhaW5zCnRoZSBsYXN0IHVzZWQgYWRkcmVzcykgYWRkaW5n IG9uZSBpcyBuZWNlc3NhcnkuCgpXaXRob3V0IHRoaXMgY2hhbmdlIExpbnV4IGZhaWxzIGZvciBt ZSB0byBjb3JyZWN0bHkgZXh0cmFjdCBhIGd6aXBwZWQKY3BpbyBhcmNoaXZlIHByb3ZpZGVkIGFz IGluaXRyZC4KClNpZ25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2Vu aWdAcGVuZ3V0cm9uaXguZGU+Ci0tLQogZHJpdmVycy9vZi9iYXNlLmMgfCA2ICsrKysrLQogMSBm aWxlIGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlv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