[PATCH 1/2] ARM: Fix oftree booting
Sascha Hauer
s.hauer at pengutronix.de
Mon Feb 13 03:53:40 EST 2012
We forgot to initialize params to the oftree to actually
boot a kernel with devicetree.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
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
More information about the barebox
mailing list