summaryrefslogtreecommitdiff
path: root/board/keymile/common/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/keymile/common/common.c')
-rw-r--r--board/keymile/common/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 0252ada93ff..8c282f9952a 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -79,10 +79,10 @@ int set_km_env(void)
}
#if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED)
-#if ((!CONFIG_IS_ENABLED(PG_WCOM_UBOOT_BOOTPACKAGE) && \
- !CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)) || \
- (CONFIG_IS_ENABLED(PG_WCOM_UBOOT_BOOTPACKAGE) && \
- CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE)))
+#if ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
+ !IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)) || \
+ (IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
+ 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)