diff options
author | Thierry Reding <treding@nvidia.com> | 2015-07-27 11:45:25 -0600 |
---|---|---|
committer | Tom Warren <twarren@nvidia.com> | 2015-07-28 10:30:18 -0700 |
commit | 32b3234f09bc4d1e60f4972cc2ecbbf807e228dc (patch) | |
tree | 3bc66440e57d99673aa5a6bf96796c004bfa80a8 | |
parent | 00f782a9f82a20b2fe4bf6c254758e6ac94ddb15 (diff) | |
download | u-boot-imx-32b3234f09bc4d1e60f4972cc2ecbbf807e228dc.zip u-boot-imx-32b3234f09bc4d1e60f4972cc2ecbbf807e228dc.tar.gz u-boot-imx-32b3234f09bc4d1e60f4972cc2ecbbf807e228dc.tar.bz2 |
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 <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board.c b/arch/arm/mach-tegra/board.c index a880a87..f113041 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 */ |