diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-09 16:56:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-13 09:50:36 +0100 |
commit | 3733e603fa4239b7bf5f337c084b1515ec09c4b1 (patch) | |
tree | 8f7dd952350436804fe1d38bb7e4e83a26350b4e /arch/arm/lib/armlinux.c | |
parent | c9c75e4cf3d2fe4c9789fd0e8b34f36408fae5bb (diff) | |
download | barebox-3733e603fa4239b7bf5f337c084b1515ec09c4b1.tar.gz barebox-3733e603fa4239b7bf5f337c084b1515ec09c4b1.tar.xz |
ARM: Fix oftree booting
We forgot to initialize params to the oftree to actually
boot a kernel with devicetree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib/armlinux.c')
-rw-r--r-- | 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 1d210d1a4c..85fe2b9f66 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; |