0de0955931
SVN-Revision: 35355
41 lines
1.0 KiB
Diff
41 lines
1.0 KiB
Diff
From d8f83a608bc854dbbe6b2ea5436e9b34516af8e4 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <blogic@openwrt.org>
|
|
Date: Thu, 6 Dec 2012 16:09:08 +0100
|
|
Subject: [PATCH 121/123] owrt: lantiq dtb image hack
|
|
|
|
---
|
|
arch/mips/lantiq/prom.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- a/arch/mips/lantiq/prom.c
|
|
+++ b/arch/mips/lantiq/prom.c
|
|
@@ -72,6 +72,8 @@ int __init early_init_dt_scan_model(unsi
|
|
return 0;
|
|
}
|
|
|
|
+extern struct boot_param_header __image_dtb;
|
|
+
|
|
void __init plat_mem_setup(void)
|
|
{
|
|
ioport_resource.start = IOPORT_RESOURCE_START;
|
|
@@ -85,7 +87,7 @@ void __init plat_mem_setup(void)
|
|
* Load the builtin devicetree. This causes the chosen node to be
|
|
* parsed resulting in our memory appearing
|
|
*/
|
|
- __dt_setup_arch(&__dtb_start);
|
|
+ __dt_setup_arch(&__image_dtb);
|
|
|
|
of_scan_flat_dt(early_init_dt_scan_model, NULL);
|
|
}
|
|
--- a/arch/mips/lantiq/Makefile
|
|
+++ b/arch/mips/lantiq/Makefile
|
|
@@ -6,8 +6,6 @@
|
|
|
|
obj-y := irq.o clk.o prom.o
|
|
|
|
-obj-y += dts/
|
|
-
|
|
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
|
|
|
|
obj-$(CONFIG_SOC_TYPE_XWAY) += xway/
|