summaryrefslogtreecommitdiff
path: root/common/spl/spl_usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/spl/spl_usb.c')
-rw-r--r--common/spl/spl_usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_usb.c b/common/spl/spl_usb.c
index 3648de3492..67d503026c 100644
--- a/common/spl/spl_usb.c
+++ b/common/spl/spl_usb.c
@@ -47,7 +47,7 @@ int spl_usb_load(struct spl_image_info *spl_image,
debug("boot mode - FAT\n");
-#ifdef CONFIG_SPL_OS_BOOT
+#if CONFIG_IS_ENABLED(OS_BOOT)
if (spl_start_uboot() ||
spl_load_image_fat_os(spl_image, stor_dev, partition))
#endif