mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
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:
parent
b8ed1a82d0
commit
04e7493c4a
@ -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)
|
||||
|
@ -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 " \
|
||||
|
Loading…
x
Reference in New Issue
Block a user