diff mbox series

[v5,09/44] Correct SPL use of PG_WCOM_UBOOT_UPDATE_SUPPORTED

Message ID 20230222163425.2043934-10-sjg@chromium.org
State Accepted
Commit cd3a35ef0bfa564c59c4113f3c3c0631bd04a3a9
Delegated to: Tom Rini
Headers show
Series More tidy-ups of Kconfig options | expand

Commit Message

Simon Glass Feb. 22, 2023, 4:33 p.m. UTC
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_PG_WCOM_UBOOT_UPDATE_SUPPORTED defined in Kconfig

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

(no changes since v1)

 board/keymile/common/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini March 3, 2023, 11:41 p.m. UTC | #1
On Wed, Feb 22, 2023 at 09:33:50AM -0700, Simon Glass wrote:

> This converts 1 usage of this option to the non-SPL form, since there is
> no SPL_PG_WCOM_UBOOT_UPDATE_SUPPORTED defined in Kconfig
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachienergy.com>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c
index 8c282f9952a..991022ac833 100644
--- a/board/keymile/common/common.c
+++ b/board/keymile/common/common.c
@@ -78,7 +78,7 @@  int set_km_env(void)
 	return 0;
 }
 
-#if CONFIG_IS_ENABLED(PG_WCOM_UBOOT_UPDATE_SUPPORTED)
+#if IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE_SUPPORTED)
 #if   ((!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \
 	!IS_ENABLED(CONFIG_PG_WCOM_UBOOT_UPDATE)) ||     \
 	(IS_ENABLED(CONFIG_PG_WCOM_UBOOT_BOOTPACKAGE) && \