]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: Disable SPL and non-cached memory on 64-bit
authorThierry Reding <treding@nvidia.com>
Mon, 27 Jul 2015 17:45:26 +0000 (11:45 -0600)
committerTom Warren <twarren@nvidia.com>
Tue, 28 Jul 2015 17:30:18 +0000 (10:30 -0700)
For 64-bit ARM SoCs we rely on non-U-Boot code to bring up the CPU in
AArch64 mode so that we don't need the SPL. Non-cached memory is not
implemented (yet) for 64-bit ARM.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
include/configs/tegra-common.h

index 7b4c0d70636e624160492839174a2065172ef3a9..49fa8b321064e533c0512820c44d8e0b4bb4ebbf 100644 (file)
@@ -43,7 +43,9 @@
 #define CONFIG_SYS_MALLOC_LEN          (4 << 20)       /* 4MB  */
 #endif
 
+#ifndef CONFIG_ARM64
 #define CONFIG_SYS_NONCACHED_MEMORY    (1 << 20)       /* 1 MiB */
+#endif
 
 /*
  * NS16550 Configuration
 #define CONFIG_SYS_MEMTEST_START       (NV_PA_SDRC_CS0 + 0x600000)
 #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START + 0x100000)
 
+#ifndef CONFIG_ARM64
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_USE_ARCH_MEMCPY
 #endif
+#endif
 
 /*-----------------------------------------------------------------------
  * Physical Memory Map