[PATCH 04/15] MIPS: tplink-mr3020: pbl: init cache

Antony Pavlov antonynpavlov at gmail.com
Mon Mar 7 05:30:15 PST 2016


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
index ae548c9..2400015 100644
--- a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
+++ b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
@@ -35,6 +35,12 @@
 	pbl_ar9331_pll
 	pbl_ar9331_ddr1_config
 
+	/* Initialize caches... */
+	mips_cache_reset
+
+	/* ... and enable them */
+	dcache_enable
+
 skip_pll_ram_config:
 	pbl_ar9331_uart_enable
 	debug_ll_ar9331_init
-- 
2.7.0




More information about the barebox mailing list