]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL uses of CMD_SF
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:36:41 +0000 (15:36 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
This converts 2 usages of this option to the non-SPL form, since there is
no SPL_CMD_SF defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/rockchip-common.h
include/environment/distro/sf.h

index fda9191f6b3d559954100f4ba8dbe8896dc644ba..e0d38ccc1aac41fb8c072eb7eb9d30d6bddddf83 100644 (file)
@@ -50,7 +50,7 @@
        #define BOOT_TARGET_DHCP(func)
 #endif
 
-#if CONFIG_IS_ENABLED(CMD_SF)
+#if IS_ENABLED(CONFIG_CMD_SF)
        #define BOOT_TARGET_SF(func)    func(SF, sf, 0)
 #else
        #define BOOT_TARGET_SF(func)
index 62624d553c04ee287ac51666c0d0047f3f27a3dd..ee48a8a4e8fe4cb16d3ae09baac88c173d39d463 100644 (file)
@@ -8,7 +8,7 @@
 #ifndef __DISTRO_SF_CONFIG_H
 #define __DISTRO_SF_CONFIG_H
 
-#if CONFIG_IS_ENABLED(CMD_SF)
+#if IS_ENABLED(CONFIG_CMD_SF)
 #define BOOTENV_SHARED_SF(devtypel)                            \
        #devtypel "_boot="                                      \
        "if " #devtypel " probe ${busnum}; then "               \