[PATCH 123/171] Correct SPL uses of PG_WCOM_UBOOT_UPDATE

Aleksandar Gerasimovski aleksandar.gerasimovski at hitachienergy.com
Fri Feb 3 07:59:04 CET 2023


This converts 2 usages of this option to the non-SPL form, since there is no SPL_PG_WCOM_UBOOT_UPDATE defined in Kconfig

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

Regards,
Aleksandar

 board/keymile/common/common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index 9cf5b71655c..8c282f9952a 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -80,9 +80,9 @@ int set_km_env(void)

 #if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED)
 #if   ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
-       !CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)) ||     \
+       !IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)) ||     \
        (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
-       CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)))
+       IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)))
 #error "It has to be either bootpackage or update u-boot image!"
 #endif
 void check_for_uboot_update(void)
--
2.39.1.456.gfc5497dd1b-goog



More information about the U-Boot mailing list