[U-Boot] [PATCH] at91rm9200ek.h: explicitly disable D-Cache
Andreas Bießmann
andreas.devel at googlemail.com
Wed Aug 31 07:36:13 CEST 2011
Commit c2dd0d45540397704de9b13287417d21049d34c6 enabled D-Cache for all
arm devices explicitly. This renders at91_emac driver on at91rm9200ek
unusable.
This patch disables D-Cache for at91rm9200ek explicitly to get this
driver working again.
Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
---
include/configs/at91rm9200ek.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/configs/at91rm9200ek.h b/include/configs/at91rm9200ek.h
index b847798..b8d1f74 100644
--- a/include/configs/at91rm9200ek.h
+++ b/include/configs/at91rm9200ek.h
@@ -219,6 +219,11 @@
(CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
/*
+ * Cache settings
+ */
+#define CONFIG_SYS_DCACHE_OFF
+
+/*
* Size of malloc() pool
*/
#define CONFIG_SYS_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + SZ_128K, \
--
1.7.6
More information about the U-Boot
mailing list