summaryrefslogtreecommitdiffstats
path: root/cpu/arm_cortexa8/omap3/board.c
diff options
context:
space:
mode:
authorKim, Heung Jun <riverful@gmail.com>2009-06-20 11:02:17 +0200
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-07-06 21:52:25 +0200
commit06e758e75c79ce8761866bf8165c443584a20893 (patch)
treead667c552c3e9ed2e12117b1144beffb49c416d1 /cpu/arm_cortexa8/omap3/board.c
parentd583ef5147066d3609de21f3beebbab99a19bad4 (diff)
downloadblackbird-obmc-uboot-06e758e75c79ce8761866bf8165c443584a20893.tar.gz
blackbird-obmc-uboot-06e758e75c79ce8761866bf8165c443584a20893.zip
move L2 cache enable/disable function to cache.c in the omap3 SoC directory
Signed-off-by: HeungJun, Kim <riverful.kim@samsung.com> CC: Dirk Behme <dirk.behme@googlemail.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'cpu/arm_cortexa8/omap3/board.c')
-rw-r--r--cpu/arm_cortexa8/omap3/board.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/arm_cortexa8/omap3/board.c b/cpu/arm_cortexa8/omap3/board.c
index 6e295994ab..b665ec9eda 100644
--- a/cpu/arm_cortexa8/omap3/board.c
+++ b/cpu/arm_cortexa8/omap3/board.c
@@ -36,6 +36,7 @@
#include <asm/io.h>
#include <asm/arch/sys_proto.h>
#include <asm/arch/mem.h>
+#include <asm/cache.h>
extern omap3_sysinfo sysinfo;
@@ -206,9 +207,9 @@ void s_init(void)
#endif
#ifdef CONFIG_L2_OFF
- l2cache_disable();
+ l2_cache_disable();
#else
- l2cache_enable();
+ l2_cache_enable();
#endif
/*
* Writing to AuxCR in U-boot using SMI for GP DEV
OpenPOWER on IntegriCloud