]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED
authorSimon Glass <sjg@chromium.org>
Wed, 22 Feb 2023 16:33:50 +0000 (09:33 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 2 Mar 2023 22:45:58 +0000 (17:45 -0500)
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PG_WCOM_UBOOT_UPDATE_SUPPORTED defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

board/keymile/common/common.c

index 8c282f9952aeb55330cc168bc24f16e243df70af..991022ac833a2195ca4438237471fa370faf8eda 100644 (file)
@@ -78,7 +78,7 @@ int set_km_env(void)
        return 0;
 }
 
-#if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED)
+#if IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE_SUPPORTED)
 #if   ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
        !IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)) ||     \
        (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \