summaryrefslogtreecommitdiff
path: root/include/part.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/part.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/part.h')
-rw-r--r--include/part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/part.h b/include/part.h
index 797b542ef1f..92662677551 100644
--- a/include/part.h
+++ b/include/part.h
@@ -439,7 +439,7 @@ ulong disk_blk_erase(struct udevice *dev, lbaint_t start, lbaint_t blkcnt);
* We don't support printing partition information in SPL and only support
* getting partition information in a few cases.
*/
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_XPL_BUILD
# define part_print_ptr(x) NULL
# if defined(CONFIG_SPL_FS_EXT4) || defined(CONFIG_SPL_FS_FAT) || \
defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION)