x86: Tidy up availability of string functions
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:50:52 +0000 (16:50 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commitb194e432c3d22bbeb6045b7f294c354d03ee95d3
treeb406c2b8207b5527a4f37d83b8ba274b7194845a
parentafa3d90c08242790dad21ac27a412067bcbfcb49
x86: Tidy up availability of string functions

For now, just enable the fast-but-large string functions in 32-boot
U-Boot proper only. Avoid using them in SPL. We cannot use then in 64-bit
builds since we only have 32-bit assembly.

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/string.h
arch/x86/lib/Makefile