[U-Boot] [PATCH 01/12] da850: indicate cache usage disable in config file

nagabhushana.netagunte at ti.com nagabhushana.netagunte at ti.com
Tue Aug 2 17:43:01 CEST 2011


From: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>

As per new cache management framework, if the caches are not used
in u-boot, it needs to be explicitly indicated through macros in
config file. da850 doesnt support I-CACHE, D-CACHE or L2-CACHE
usage in u-boot which is indicated by the following macro definitions,

1. CONFIG_SYS_ICACHE_OFF
2. CONFIG_SYS_DCACHE_OFF
3. CONFIG_SYS_L2CACHE_OFF

Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>
---
 include/configs/da850evm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index bbb5a9b..fdcc6e3 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -42,6 +42,9 @@
 #define CONFIG_SYS_HZ			1000
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_SYS_TEXT_BASE		0xc1080000
+#define CONFIG_SYS_ICACHE_OFF
+#define CONFIG_SYS_DCACHE_OFF
+#define CONFIG_SYS_L2CACHE_OFF
 
 /*
  * Memory Info
-- 
1.6.2.4



More information about the U-Boot mailing list