projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bb7318
)
board: STiH410-B2260: enable caches
author
Patrice Chotard
<patrice.chotard@st.com>
Mon, 20 Mar 2017 14:21:36 +0000
(15:21 +0100)
committer
Tom Rini
<trini@konsulko.com>
Sat, 8 Apr 2017 13:26:49 +0000
(09:26 -0400)
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
board/st/stih410-b2260/board.c
patch
|
blob
|
history
diff --git
a/board/st/stih410-b2260/board.c
b/board/st/stih410-b2260/board.c
index 1e7d4217d3f1761d793342f5793d070895478aee..92b06955936d043a2325bc5403e8ddc7193fb9a4 100644
(file)
--- 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;