summaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-05-02 10:27:35 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2012-05-15 15:49:20 (GMT)
commit40e91aec7da128795cff7708ed5ae908f0d779c6 (patch)
tree7c601544e62b78acead864c1efc854b687b59c19 /arch/mips
parent7d6168e57610a51404fb30e500345e2d92c20b18 (diff)
downloadlinux-fsl-qoriq-40e91aec7da128795cff7708ed5ae908f0d779c6.tar.xz
MIPS: parse chosen node on boot
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/kernel/prom.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c
index 4c788d2..f11b2bb 100644
--- a/arch/mips/kernel/prom.c
+++ b/arch/mips/kernel/prom.c
@@ -105,4 +105,6 @@ void __init __dt_setup_arch(struct boot_param_header *bph)
}
initial_boot_params = bph;
+
+ early_init_devtree(initial_boot_params);
}