Correct SPL use of FASTBOOT_MMC_USER_SUPPORT

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_FASTBOOT_MMC_USER_SUPPORT defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2023-02-05 15:39:56 -07:00 committed by Tom Rini
parent 64d6bfb660
commit 0d9da97daa

View File

@ -588,7 +588,7 @@ void fastboot_mmc_flash_write(const char *cmd, void *download_buffer,
} }
#endif #endif
#if CONFIG_IS_ENABLED(FASTBOOT_MMC_USER_SUPPORT) #if IS_ENABLED(CONFIG_FASTBOOT_MMC_USER_SUPPORT)
if (strcmp(cmd, CONFIG_FASTBOOT_MMC_USER_NAME) == 0) { if (strcmp(cmd, CONFIG_FASTBOOT_MMC_USER_NAME) == 0) {
dev_desc = fastboot_mmc_get_dev(response); dev_desc = fastboot_mmc_get_dev(response);
if (!dev_desc) if (!dev_desc)