summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-02-06 01:40:29 +0300
committerTom Rini <trini@konsulko.com>2023-02-10 15:41:40 +0300
commitc6151eec823165948752e98c05b7847a3b780f29 (patch)
tree46cf7b21d0fe917cd3f5c78d8ce6b36eff24a092 /board
parent0b11c3da6b362b24fdb3f46390b0adfc2fd71e19 (diff)
downloadu-boot-c6151eec823165948752e98c05b7847a3b780f29.tar.xz
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 <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 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