From 40e91aec7da128795cff7708ed5ae908f0d779c6 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 2 May 2012 12:27:35 +0200 Subject: [PATCH] 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 Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3718/ Signed-off-by: Ralf Baechle --- arch/mips/kernel/prom.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index 4c788d259539..f11b2bbb826d 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); } -- GitLab