Message ID | 1490019696-14327-1-git-send-email-patrice.chotard@st.com |
---|---|
State | Accepted |
Delegated to: | Tom Rini |
Headers | show |
On Mon, Mar 20, 2017 at 03:21:36PM +0100, Patrice Chotard wrote: > From: Patrice Chotard <patrice.chotard@st.com> > > Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Applied to u-boot/master, thanks!
diff --git a/board/st/stih410-b2260/board.c b/board/st/stih410-b2260/board.c index 363c016..590e8f0 100644 --- a/board/st/stih410-b2260/board.c +++ b/board/st/stih410-b2260/board.c @@ -25,6 +25,14 @@ void dram_init_banksize(void) gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; } +#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;