aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-03-20 15:21:36 +0100
committerTom Rini <trini@konsulko.com>2017-04-08 09:26:49 -0400
commit4c4da9fbfffcb45b38311a57d3e804c3b0608625 (patch)
tree4156b6c6bfa05bc8b7db860006736bde90a87fa7 /board
parent5bb7318f9c9fcaa029718149ad061c6031c81022 (diff)
downloadu-boot-4c4da9fbfffcb45b38311a57d3e804c3b0608625.zip
u-boot-4c4da9fbfffcb45b38311a57d3e804c3b0608625.tar.gz
u-boot-4c4da9fbfffcb45b38311a57d3e804c3b0608625.tar.bz2
board: STiH410-B2260: enable caches
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'board')
-rw-r--r--board/st/stih410-b2260/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c
index 1e7d421..92b0695 100644
--- a/board/st/stih410-b2260/board.c
+++ b/board/st/stih410-b2260/board.c
@@ -24,6 +24,14 @@ int dram_init_banksize(void)
return 0;
}
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+ /* Enable D-cache. I-cache is already enabled in start.S */
+ dcache_enable();
+}
+#endif
+
int board_init(void)
{
return 0;