summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/string.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-09-29 19:49:46 -0600
committerTom Rini <trini@konsulko.com>2024-10-11 11:44:47 -0600
commitbef9fdbed2e525ce9264d2ae2fbcb37db7472052 (patch)
tree2f2d2438160813a1dd77792d01a23581011c7e69 /arch/x86/include/asm/string.h
parentac644df9a4d5d39b3214d230a14e5ef5c8cfcdf4 (diff)
arch: Use CONFIG_XPL_BUILD instead of CONFIG_SPL_BUILD
Use the new symbol to refer to any 'SPL' build, including TPL and VPL Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm/string.h')
-rw-r--r--arch/x86/include/asm/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/string.h b/arch/x86/include/asm/string.h
index 5c49b0f009b..f6836b74488 100644
--- a/arch/x86/include/asm/string.h
+++ b/arch/x86/include/asm/string.h
@@ -18,7 +18,7 @@ extern char *strchr(const char *s, int c);
* Our assembly routines do not work on in 64-bit mode and we don't do a lot of
* copying in SPL, so code size is more important there.
*/
-#if defined(CONFIG_SPL_BUILD) || !IS_ENABLED(CONFIG_X86_32BIT_INIT)
+#if defined(CONFIG_XPL_BUILD) || !IS_ENABLED(CONFIG_X86_32BIT_INIT)
#undef __HAVE_ARCH_MEMCPY
extern void *memcpy(void *, const void *, __kernel_size_t);