From: Alexander Stein Date: Mon, 20 Jul 2015 23:00:04 +0200 Subject: [U-Boot] [PATCH v2 6/6] arm/rpi: Enable dcache In-Reply-To: <1437426004-22549-1-git-send-email-alexanders83@web.de> References: <1437426004-22549-1-git-send-email-alexanders83@web.de> Message-ID: <1437426004-22549-7-git-send-email-alexanders83@web.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Now that mailbox driver supports cache flush and invalidation, we can enable dcache. Signed-off-by: Alexander Stein --- Changes in v2: * Only enable dcache on rpi1, but not on rpi2 include/configs/rpi-common.h | 1 - include/configs/rpi_2.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h index e75fb1e..43b460b 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_CACHELINE_SIZE 32 #define CONFIG_SYS_TIMER_RATE 1000000 diff --git a/include/configs/rpi_2.h b/include/configs/rpi_2.h index 2e7e74f..0ecd399 100644 --- a/include/configs/rpi_2.h +++ b/include/configs/rpi_2.h @@ -9,6 +9,7 @@ #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_BCM2836 +#define CONFIG_SYS_DCACHE_OFF #include "rpi-common.h" -- 2.4.6