From patchwork Tue Aug 30 12:15:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [U-Boot,1/5] da830: disable cache usage due to coherency issues Date: Tue, 30 Aug 2011 02:15:56 -0000 From: nagabhushana.netagunte@ti.com X-Patchwork-Id: 112273 Message-Id: <1314706560-12773-2-git-send-email-nagabhushana.netagunte@ti.com> To: Cc: Nagabhushana Netagunte , sudhakar.raj@ti.com, manjunath.hadli@ti.com From: Nagabhushana Netagunte there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for da830 u-boot. 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. CACHE disable is indicated by the following macro definitions in config file, 1. CONFIG_SYS_ICACHE_OFF 2. CONFIG_SYS_DCACHE_OFF 3. CONFIG_SYS_L2CACHE_OFF Signed-off-by: Nagabhushana Netagunte --- include/configs/da830evm.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/da830evm.h b/include/configs/da830evm.h index bcf8ee0..da7d528 100644 --- a/include/configs/da830evm.h +++ b/include/configs/da830evm.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