From patchwork Wed Aug 31 05:36:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [U-Boot] at91rm9200ek.h: explicitly disable D-Cache Date: Tue, 30 Aug 2011 19:36:13 -0000 From: =?utf-8?q?Andreas_Bie=C3=9Fmann?= X-Patchwork-Id: 112448 Message-Id: <1314768973-94711-1-git-send-email-andreas.devel@googlemail.com> To: Reinhard Meyer Cc: u-boot@lists.denx.de, Jens Scharsig 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 --- 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, \