From: Alexander Stein <alexanders83@web.de>
Date: Fri, 24 Jul 2015 07:22:15 +0000 (+0200)
Subject: arm/rpi: Enable dcache
X-Git-Tag: v2025.01-rc5-pxa1908~12103
X-Git-Url: http://git.dujemihanovic.xyz/posts?a=commitdiff_plain;h=4cffbec96a3cf95ec3f4774229712d647f603541;p=u-boot.git

arm/rpi: Enable dcache

Now that mailbox driver supports cache flush and invalidation, we can
enable dcache.

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
---

diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 1012cdd292..dd638c485c 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -14,7 +14,6 @@
 #define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_BCM2835
 #define CONFIG_ARCH_CPU_INIT
-#define CONFIG_SYS_DCACHE_OFF
 
 #define CONFIG_SYS_TIMER_RATE		1000000
 #define CONFIG_SYS_TIMER_COUNTER	\
diff --git a/include/configs/rpi_2.h b/include/configs/rpi_2.h
index 13dc8de143..bea4ebda7f 100644
--- a/include/configs/rpi_2.h
+++ b/include/configs/rpi_2.h
@@ -10,6 +10,7 @@
 #define CONFIG_SKIP_LOWLEVEL_INIT
 #define CONFIG_BCM2836
 #define CONFIG_SYS_CACHELINE_SIZE		64
+#define CONFIG_SYS_DCACHE_OFF
 
 #include "rpi-common.h"