linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH 05/14] MIPS: parse chosen node on boot
From: John Crispin <blogic@openwrt.org>
Date: Mon, 30 Apr 2012 13:33:00 +0200
Cc: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, John Crispin <blogic@openwrt.org>
In-reply-to: <1335785589-32532-1-git-send-email-blogic@openwrt.org>
References: <1335785589-32532-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>
---
 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 271ad98..dc6dedf 100644
--- a/arch/mips/kernel/prom.c
+++ b/arch/mips/kernel/prom.c
@@ -108,4 +108,6 @@ void __init __dt_setup_arch(struct boot_param_header *bph)
 
        initial_boot_params = bph;
        size = be32_to_cpu(bph->totalsize);
+
+       early_init_devtree(initial_boot_params);
 }
-- 
1.7.9.1


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