From 4c4da9fbfffcb45b38311a57d3e804c3b0608625 Mon Sep 17 00:00:00 2001 From: Patrice Chotard Date: Mon, 20 Mar 2017 15:21:36 +0100 Subject: [PATCH] board: STiH410-B2260: enable caches Signed-off-by: Patrice Chotard --- board/st/stih410-b2260/board.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index 1e7d4217d3..92b0695593 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; -- GitLab