* [U-Boot] board: STiH410-B2260: enable caches
@ 2017-03-20 14:21 patrice.chotard at st.com
2017-04-09 1:14 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: patrice.chotard at st.com @ 2017-03-20 14:21 UTC (permalink / raw)
To: u-boot
From: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---
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 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;
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] board: STiH410-B2260: enable caches
2017-03-20 14:21 [U-Boot] board: STiH410-B2260: enable caches patrice.chotard at st.com
@ 2017-04-09 1:14 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2017-04-09 1:14 UTC (permalink / raw)
To: u-boot
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!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170408/c5c45536/attachment.sig>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-09 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-20 14:21 [U-Boot] board: STiH410-B2260: enable caches patrice.chotard at st.com
2017-04-09 1:14 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.