From: Thierry Reding Date: Fri, 20 Mar 2015 13:24:18 +0100 Subject: [U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit In-Reply-To: <1426854262-1248-1-git-send-email-thierry.reding@gmail.com> References: <1426854262-1248-1-git-send-email-thierry.reding@gmail.com> Message-ID: <1426854262-1248-2-git-send-email-thierry.reding@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Thierry Reding 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. Cc: Tom Warren Signed-off-by: Thierry Reding --- include/configs/tegra-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 2cf1f68404b1..5581d0878380 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -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 @@ -109,9 +111,11 @@ #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 -- 2.3.2