diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:39:53 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-09 16:32:26 -0500 |
commit | 64d6bfb660dbb1e29259ef141535c8d68dada2e5 (patch) | |
tree | 507ecbca0d80eb6ead58bb113f17600220f0e75f /drivers/fastboot/fb_getvar.c | |
parent | 418f2173b1bb15dca7f3933f5385abdae8beb509 (diff) |
Correct SPL uses of FASTBOOT_FLASH
This converts 3 usages of this option to the non-SPL form, since there is
no SPL_FASTBOOT_FLASH defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Diffstat (limited to 'drivers/fastboot/fb_getvar.c')
-rw-r--r-- | drivers/fastboot/fb_getvar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c index 2fbd285db3..bcef8f866f 100644 --- a/drivers/fastboot/fb_getvar.c +++ b/drivers/fastboot/fb_getvar.c @@ -57,7 +57,7 @@ static const struct { }, { .variable = "current-slot", .dispatch = getvar_current_slot -#if CONFIG_IS_ENABLED(FASTBOOT_FLASH) +#if IS_ENABLED(CONFIG_FASTBOOT_FLASH) }, { .variable = "has-slot", .dispatch = getvar_has_slot @@ -67,7 +67,7 @@ static const struct { .variable = "partition-type", .dispatch = getvar_partition_type #endif -#if CONFIG_IS_ENABLED(FASTBOOT_FLASH) +#if IS_ENABLED(CONFIG_FASTBOOT_FLASH) }, { .variable = "partition-size", .dispatch = getvar_partition_size |