aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass2023-02-05 15:40:30 -0700
committerTom Rini2023-02-10 07:41:40 -0500
commit622dad2137b14af42c2779a3b0134b4815ec5e13 (patch)
tree6599f09d9433c65c8fdae1ca24a63ea8b26f864b /board
parentc6151eec823165948752e98c05b7847a3b780f29 (diff)
Correct SPL uses of PG_WCOM_UBOOT_UPDATE
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@chromium.org> Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/common/common.c4
1 files 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)