mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
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>
This commit is contained in:
parent
00f782a9f8
commit
32b3234f09
@ -198,7 +198,7 @@ void board_init_uart_f(void)
|
|||||||
setup_uarts(uart_ids);
|
setup_uarts(uart_ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_SYS_DCACHE_OFF
|
#if !defined(CONFIG_SYS_DCACHE_OFF) && !defined(CONFIG_ARM64)
|
||||||
void enable_caches(void)
|
void enable_caches(void)
|
||||||
{
|
{
|
||||||
/* Enable D-cache. I-cache is already enabled in start.S */
|
/* Enable D-cache. I-cache is already enabled in start.S */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user