summaryrefslogtreecommitdiff
path: root/board/st/stih410-b2260/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/stih410-b2260/board.c')
-rw-r--r--board/st/stih410-b2260/board.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c
index 0c06bcaa61..92b0695593 100644
--- a/board/st/stih410-b2260/board.c
+++ b/board/st/stih410-b2260/board.c
@@ -16,11 +16,21 @@ int dram_init(void)
return 0;
}
-void dram_init_banksize(void)
+int dram_init_banksize(void)
{
gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
+
+ 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)
{