linux-mips
[Top] [All Lists]

[PATCH V2 05/14] MIPS: parse chosen node on boot

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH V2 05/14] MIPS: parse chosen node on boot
From: John Crispin <blogic@openwrt.org>
Date: Wed, 2 May 2012 14:27:35 +0200
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, John Crispin <blogic@openwrt.org>
In-reply-to: <1335961659-21358-1-git-send-email-blogic@openwrt.org>
References: <1335961659-21358-1-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
Call early_init_devtree from inside __dt_setup_arch to allow parsing of the
chosen node.

Signed-off-by: John Crispin <blogic@openwrt.org>

---
Changes in V2
* rebase on previous patch

 arch/mips/kernel/prom.c |    2 ++
 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);
 }
-- 
1.7.9.1


<Prev in Thread] Current Thread [Next in Thread>