]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of FASTBOOT_MMC_USER_SUPPORT
authorSimon Glass <sjg@chromium.org>
Sun, 5 Feb 2023 22:39:56 +0000 (15:39 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 9 Feb 2023 21:32:26 +0000 (16:32 -0500)
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>
drivers/fastboot/fb_mmc.c

index 033c510bc0961ded09c37fcd93e013566e1d8256..a06c590234fa8a9a755117617159444db769a8dc 100644 (file)
@@ -588,7 +588,7 @@ void fastboot_mmc_flash_write(const char *cmd, void *download_buffer,
        }
 #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) {
                dev_desc = fastboot_mmc_get_dev(response);
                if (!dev_desc)