[U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit
Stephen Warren
swarren at wwwdotorg.org
Fri Mar 20 19:26:44 CET 2015
On 03/20/2015 11:09 AM, Tom Rini wrote:
> On Fri, Mar 20, 2015 at 10:26:12AM -0600, Stephen Warren wrote:
>> On 03/20/2015 06:24 AM, Thierry Reding wrote:
>>> From: Thierry Reding <treding at nvidia.com>
>>>
>>> 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.
>>
>>> diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
>>
>>> +#ifndef CONFIG_ARM64
>>> #ifndef CONFIG_SPL_BUILD
>>> #define CONFIG_USE_ARCH_MEMCPY
>>> #endif
>>> +#endif
>>
>> We don't need SPL, but that stanza used to enable ARCH_MEMCPY
>> *except* for SPL. I would expect we still want ARCH_MEMCPY on ARM64,
>> where presumably ifndef CONFIG_SPL_BUILD will always be true?
>
> First we need arch memcpy/memset for aarch64 copied over (and maybe
> update the 32bit one and get everyone using them).
Oh, that's missing? OK, it makes sense to disable it. However, the
commit description probably shouldn't imply this is related to having
SPL or not, but rather that ARM64 doesn't support ARCH_MEMCPY yet?
More information about the U-Boot
mailing list