From: Felix Fietkau Date: Wed, 2 Sep 2015 09:24:05 +0000 (+0000) Subject: ramips: fix devicetree corruption with some boot loaders if the caches are not ready... X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f9f01563b45fc27e20efbec532f11b3b5920eec3;p=openwrt%2Fsvn-archive%2Farchive.git ramips: fix devicetree corruption with some boot loaders if the caches are not ready at boot Signed-off-by: John Crispin SVN-Revision: 46766 --- 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];