diff mbox

[U-Boot,v4,7/7] arm/rpi: Enable dcache

Message ID 1437722535-7759-8-git-send-email-alexanders83@web.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Alexander Stein July 24, 2015, 7:22 a.m. UTC
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>
---
 include/configs/rpi-common.h | 1 -
 include/configs/rpi_2.h      | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Aug. 13, 2015, 1:19 p.m. UTC | #1
On Fri, Jul 24, 2015 at 09:22:15AM +0200, Alexander Stein wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 1012cdd..dd638c4 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 13dc8de..bea4ebd 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"