From: Simon Glass Date: Sun, 5 Feb 2023 22:40:29 +0000 (-0700) Subject: Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c6151eec823165948752e98c05b7847a3b780f29;p=u-boot.git Correct SPL uses of PG_WCOM_UBOOT_BOOTPACKAGE This converts 2 usages of this option to the non-SPL form, since there is no SPL_PG_WCOM_UBOOT_BOOTPACKAGE defined in Kconfig Signed-off-by: Simon Glass Aleksandar Gerasimovski --- diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 0252ada93f..9cf5b71655 100644 --- a/board/keymile/common/common.c +++ b/board/keymile/common/common.c @@ -79,9 +79,9 @@ int set_km_env(void) } #if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED) -#if ((!CONFIG_IS_ENABLED(PG_WCOM_UBOOT_BOOTPACKAGE) && \ +#if ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \ !CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)) || \ - (CONFIG_IS_ENABLED(PG_WCOM_UBOOT_BOOTPACKAGE) && \ + (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \ CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE))) #error "It has to be either bootpackage or update u-boot image!" #endif