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:
c174797
)
mx27: add function enable_caches
author
trem
<tremyfr@yahoo.fr>
Fri, 14 Jun 2013 16:21:21 +0000
(18:21 +0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 26 Jun 2013 15:34:21 +0000
(17:34 +0200)
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
arch/arm/cpu/arm926ejs/mx27/generic.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/arm926ejs/mx27/generic.c
b/arch/arm/cpu/arm926ejs/mx27/generic.c
index 41bb84bb6e7ffe58e64988fc4e88e090daab91fb..bffbadd7e2ce5cda6e338431af6b2f8873eb6f55 100644
(file)
--- a/
arch/arm/cpu/arm926ejs/mx27/generic.c
+++ b/
arch/arm/cpu/arm926ejs/mx27/generic.c
@@
-380,3
+380,11
@@
void mx27_sd2_init_pins(void)
}
#endif /* CONFIG_MXC_MMC */
+
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+ /* Enable D-cache. I-cache is already enabled in start.S */
+ dcache_enable();
+}
+#endif /* CONFIG_SYS_DCACHE_OFF */