diff options
author | Kim, Heung Jun <riverful@gmail.com> | 2009-06-20 11:02:17 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-07-06 21:52:25 +0200 |
commit | 06e758e75c79ce8761866bf8165c443584a20893 (patch) | |
tree | ad667c552c3e9ed2e12117b1144beffb49c416d1 /cpu/arm_cortexa8/omap3/board.c | |
parent | d583ef5147066d3609de21f3beebbab99a19bad4 (diff) |
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.c | 5 |
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 |