9
0
Fork 0

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>
This commit is contained in:
Sascha Hauer 2012-02-09 16:56:55 +01:00
parent c9c75e4cf3
commit 3733e603fa
1 changed files with 1 additions and 0 deletions

View File

@ -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;