[U-Boot] [PATCH 2/6] ARM: tegra: Disable SPL and non-cached memory on 64-bit

Tom Rini trini at konsulko.com
Fri Mar 20 18:09:59 CET 2015


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).

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150320/23ea86ac/attachment.sig>


More information about the U-Boot mailing list