Skip to content

Commit

Permalink
ramips: fix devicetree corruption with some boot loaders if the cache…
Browse files Browse the repository at this point in the history
…s are not ready at boot

Signed-off-by: John Crispin <[email protected]>

Backport of r46766

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46767 3c298f89-4303-0410-b956-a3cf2f4a3e73
  • Loading branch information
Felix Fietkau committed Sep 2, 2015
1 parent 7e05e4e commit f7fbc74
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions target/linux/ramips/patches-3.18/0065-fix_dts_cache_issues.patch
Original file line number Diff line number Diff line change
@@ -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];

0 comments on commit f7fbc74

Please sign in to comment.