summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2016-03-07 16:30:14 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2016-03-09 08:29:42 +0100
commit1d974f501f91d7db052538fdb4bbe460272928ef (patch)
treeadbc68b02c6a9c5d31fbd249ed2583e5f0b69b51 /arch/mips/boards
parent5668487525cb356b356dc71799da837d0882b1ce (diff)
downloadbarebox-1d974f501f91d7db052538fdb4bbe460272928ef.tar.gz
barebox-1d974f501f91d7db052538fdb4bbe460272928ef.tar.xz
MIPS: black-swift: pbl: init cache
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/boards')
-rw-r--r--arch/mips/boards/black-swift/include/board/board_pbl_start.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/boards/black-swift/include/board/board_pbl_start.h b/arch/mips/boards/black-swift/include/board/board_pbl_start.h
index 3f2caa034f..0d68004643 100644
--- a/arch/mips/boards/black-swift/include/board/board_pbl_start.h
+++ b/arch/mips/boards/black-swift/include/board/board_pbl_start.h
@@ -35,6 +35,12 @@
pbl_ar9331_pll
pbl_ar9331_ddr2_config
+ /* Initialize caches... */
+ mips_cache_reset
+
+ /* ... and enable them */
+ dcache_enable
+
skip_pll_ram_config:
pbl_ar9331_uart_enable
debug_ll_ar9331_init