aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-02 09:24:05 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-02 09:24:05 +0000
commit4a7ab8448f65d17f59b93f5b6d4f3a4edf94d1c1 (patch)
tree697d50455281b4a66b654013de57c71b9fa9f911 /target/linux/ramips
parent16db01ec42b7e99b28d4eb857176877eb54d63ef (diff)
downloadmaster-187ad058-4a7ab8448f65d17f59b93f5b6d4f3a4edf94d1c1.tar.gz
master-187ad058-4a7ab8448f65d17f59b93f5b6d4f3a4edf94d1c1.tar.bz2
master-187ad058-4a7ab8448f65d17f59b93f5b6d4f3a4edf94d1c1.zip
ramips: fix devicetree corruption with some boot loaders if the caches are not ready at boot
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46766 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch b/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
new file mode 100644
index 0000000000..42c04aef96
--- /dev/null
+++ b/target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
@@ -0,0 +1,18 @@
+--- a/arch/mips/kernel/setup.c
++++ b/arch/mips/kernel/setup.c
+@@ -675,7 +675,6 @@
+ crashk_res.end - crashk_res.start + 1,
+ BOOTMEM_DEFAULT);
+ #endif
+- device_tree_init();
+ sparse_init();
+ plat_swiotlb_setup();
+ paging_init();
+@@ -784,6 +783,7 @@
+ prefill_possible_map();
+
+ cpu_cache_init();
++ device_tree_init();
+ }
+
+ unsigned long kernelsp[NR_CPUS];