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 casper.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RwrfQ-0001sZ-Ps for barebox@lists.infradead.org; Mon, 13 Feb 2012 08:53:49 +0000 From: Sascha Hauer Date: Mon, 13 Feb 2012 09:53:40 +0100 Message-Id: <1329123221-28492-2-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1329123221-28492-1-git-send-email-s.hauer@pengutronix.de> References: <1329123221-28492-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/2] ARM: Fix oftree booting To: barebox@lists.infradead.org We forgot to initialize params to the oftree to actually boot a kernel with devicetree. Signed-off-by: Sascha Hauer --- arch/arm/lib/armlinux.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c index 1d210d1..85fe2b9 100644 --- a/arch/arm/lib/armlinux.c +++ b/arch/arm/lib/armlinux.c @@ -258,6 +258,7 @@ void start_linux(void *adr, int swap, unsigned long initrd_address, if (oftree) { printf("booting Linux kernel with devicetree\n"); + params = oftree; } else { setup_tags(initrd_address, initrd_size, swap); params = armlinux_bootparams; -- 1.7.9 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox