summaryrefslogtreecommitdiff
path: root/include/env.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-09-29 19:49:49 -0600
committerTom Rini <[email protected]>2024-10-11 11:44:48 -0600
commitf38956a687c42db8d9736e09df2d68705369950e (patch)
treeea397b639b37d2651ae245509b5034786cf3e641 /include/env.h
parent371dc068bbf50c6ed6146c04ec83b644bcc79249 (diff)
include: 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 <[email protected]>
Diffstat (limited to 'include/env.h')
-rw-r--r--include/env.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env.h b/include/env.h
index d2a5954ded8..01c3eeae7e2 100644
--- a/include/env.h
+++ b/include/env.h
@@ -44,7 +44,7 @@ struct env_clbk_tbl {
* For SPL these are silently dropped to reduce code size, since environment
* callbacks are not supported with SPL.
*/
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
#define U_BOOT_ENV_CALLBACK(name, callback) \
static inline __maybe_unused void _u_boot_env_noop_##name(void) \
{ \