summaryrefslogtreecommitdiff
path: root/common/spl/spl_xip.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/spl_xip.c')
-rw-r--r--common/spl/spl_xip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_xip.c b/common/spl/spl_xip.c
index 8ce0a09ef3..ba4af38a3e 100644
--- a/common/spl/spl_xip.c
+++ b/common/spl/spl_xip.c
@@ -12,7 +12,7 @@
static int spl_xip(struct spl_image_info *spl_image,
struct spl_boot_device *bootdev)
{
-#ifdef CONFIG_SPL_OS_BOOT
+#if CONFIG_IS_ENABLED(OS_BOOT)
if (!spl_start_uboot()) {
spl_image->arg = (void *)CONFIG_SYS_FDT_BASE;
spl_image->name = "Linux";