diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:36:41 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-09 16:32:26 -0500 |
commit | 04e7493c4af9aa57a0de68637773d88ba4c69ede (patch) | |
tree | 476e4224b6b0bc9d2f9d8eff9b8b56fe1f91bfe2 /include | |
parent | b8ed1a82d0b30e6763d00c361f2f72ed2f73efa2 (diff) | |
download | u-boot-04e7493c4af9aa57a0de68637773d88ba4c69ede.zip u-boot-04e7493c4af9aa57a0de68637773d88ba4c69ede.tar.gz u-boot-04e7493c4af9aa57a0de68637773d88ba4c69ede.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/rockchip-common.h | 2 | ||||
-rw-r--r-- | include/environment/distro/sf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/rockchip-common.h b/include/configs/rockchip-common.h index fda9191..e0d38cc 100644 --- a/include/configs/rockchip-common.h +++ b/include/configs/rockchip-common.h @@ -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) diff --git a/include/environment/distro/sf.h b/include/environment/distro/sf.h index 62624d5..ee48a8a 100644 --- a/include/environment/distro/sf.h +++ b/include/environment/distro/sf.h @@ -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 " \ |