diff options
| author | Nagabhushana Netagunte <[email protected]> | 2011-09-03 22:13:02 -0400 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2011-09-04 11:36:18 +0200 |
| commit | 98c19aff9524e1d0dd6bf39bf7bde5644f121feb (patch) | |
| tree | c2b3adaf4357b80e1401c7efdf81450d7692e5e9 | |
| parent | 913a39e9aa4d935948d41cd727d53f5878414a77 (diff) | |
dm365: disable cache usage due to coherency issues
there are cache coherency issues when using the DAVINCI Ethernet driver,
hence caches cant be used for d365 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 <[email protected]>
Signed-off-by: Sandeep Paulraj <[email protected]>
| -rw-r--r-- | include/configs/davinci_dm365evm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/davinci_dm365evm.h b/include/configs/davinci_dm365evm.h index 28250506a93..172a85214c8 100644 --- a/include/configs/davinci_dm365evm.h +++ b/include/configs/davinci_dm365evm.h @@ -33,6 +33,9 @@ #define CONFIG_SYS_HZ_CLOCK 24000000 /* timer0 freq */ #define CONFIG_SYS_HZ 1000 #define CONFIG_SOC_DM365 +#define CONFIG_SYS_ICACHE_OFF +#define CONFIG_SYS_DCACHE_OFF +#define CONFIG_SYS_L2CACHE_OFF /* Memory Info */ #define CONFIG_NR_DRAM_BANKS 1 |
