MIPS: parse chosen node on boot
authorJohn Crispin <blogic@openwrt.org>
Wed, 2 May 2012 10:27:35 +0000 (12:27 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:20 +0000 (17:49 +0200)
Call early_init_devtree from inside __dt_setup_arch to allow parsing of the
chosen node.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3718/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/prom.c

index 4c788d2595390fb054b69f07bd21e662f075b228..f11b2bbb826d223d10eefffb810c9bcdb67eb017 100644 (file)
@@ -105,4 +105,6 @@ void __init __dt_setup_arch(struct boot_param_header *bph)
        }
 
        initial_boot_params = bph;
+
+       early_init_devtree(initial_boot_params);
 }