[U-Boot] [PATCH v2 3/4] Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig

Tom Rini trini at konsulko.com
Thu Dec 15 19:06:19 CET 2016


On Thu, Dec 15, 2016 at 04:00:12PM -0200, Fabio Estevam wrote:

> Move USE_ARCH_MEMCPY/MEMSET options to Kconfig.
> 
> Make it "default y" for the ARM architecture.
> 
> Unset these options for uniphier and tegra to preserve the original
> behavior.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

So, thanks for starting on this.  But it needs to go into
arch/arm/Kconfig.  And I meant, it should be default y if CPU_V7, and
depend on !ARM64 (because we don't have asm versions of these functions,
we could borrow them from the kernel, and someone should I suspect).
The key here is that on some older ARM cores we will exceed the SPL size
limit with these functions enabled.  Make sense?  Thanks!

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


More information about the U-Boot mailing list