Correct SPL uses of CMD_SF

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>
This commit is contained in:
Simon Glass
2023-02-05 15:36:41 -07:00
committed by Tom Rini
parent b8ed1a82d0
commit 04e7493c4a
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@
#define BOOT_TARGET_DHCP(func) #define BOOT_TARGET_DHCP(func)
#endif #endif
#if CONFIG_IS_ENABLED(CMD_SF) #if IS_ENABLED(CONFIG_CMD_SF)
#define BOOT_TARGET_SF(func) func(SF, sf, 0) #define BOOT_TARGET_SF(func) func(SF, sf, 0)
#else #else
#define BOOT_TARGET_SF(func) #define BOOT_TARGET_SF(func)

View File

@@ -8,7 +8,7 @@
#ifndef __DISTRO_SF_CONFIG_H #ifndef __DISTRO_SF_CONFIG_H
#define __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) \ #define BOOTENV_SHARED_SF(devtypel) \
#devtypel "_boot=" \ #devtypel "_boot=" \
"if " #devtypel " probe ${busnum}; then " \ "if " #devtypel " probe ${busnum}; then " \