]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: Use standard cache enable for 64-bit
authorThierry Reding <treding@nvidia.com>
Mon, 27 Jul 2015 17:45:25 +0000 (11:45 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 28 Jul 2015 17:30:18 +0000 (10:30 -0700)
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 <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/board.c

index a880a87849bfcc24290c62557d577eb854a842e4..f11304149e08d8869e6c6afd884f2f47e6a4f667 100644 (file)
@@ -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 */