From: Thierry Reding Date: Mon, 27 Jul 2015 17:45:25 +0000 (-0600) Subject: ARM: tegra: Use standard cache enable for 64-bit X-Git-Tag: v2015.10-rc1~6^2~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32b3234f09bc4d1e60f4972cc2ecbbf807e228dc;p=oweals%2Fu-boot.git ARM: tegra: Use standard cache enable for 64-bit On 64-bit SoCs the I-cache isn't enabled in early code, so the default cache enable functions for 64-bit ARM can be used. Signed-off-by: Thierry Reding Signed-off-by: Tom Warren Signed-off-by: Stephen Warren --- diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c index a880a87849..f11304149e 100644 --- a/arch/arm/mach-tegra/board.c +++ b/arch/arm/mach-tegra/board.c @@ -198,7 +198,7 @@ void board_init_uart_f(void) setup_uarts(uart_ids); } -#ifndef CONFIG_SYS_DCACHE_OFF +#if !defined(CONFIG_SYS_DCACHE_OFF) && !defined(CONFIG_ARM64) void enable_caches(void) { /* Enable D-cache. I-cache is already enabled in start.S */