From: Tom Rini <trini@konsulko.com>
Date: Thu, 24 Mar 2022 21:18:00 +0000 (-0400)
Subject: mx53loco: Convert CONFIG_DIALOG_POWER to Kconfig
X-Git-Tag: v2025.01-rc5-pxa1908~1478^2~3^2~7
X-Git-Url: http://git.dujemihanovic.xyz/posts?a=commitdiff_plain;h=f13d7e21fc4fd8193e819777424e119a66d7ce30;p=u-boot.git

mx53loco: Convert CONFIG_DIALOG_POWER to Kconfig

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/board/freescale/mx53loco/Kconfig b/board/freescale/mx53loco/Kconfig
index a690a601ac..5dcdcd9f72 100644
--- a/board/freescale/mx53loco/Kconfig
+++ b/board/freescale/mx53loco/Kconfig
@@ -1,5 +1,8 @@
 if TARGET_MX53LOCO
 
+config DIALOG_POWER
+	def_bool y
+
 config SYS_BOARD
 	default "mx53loco"
 
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 8a0324e1ad..43455aa531 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -23,7 +23,6 @@
 #define CONFIG_MXC_USB_FLAGS	0
 
 /* PMIC Controller */
-#define CONFIG_DIALOG_POWER
 #define CONFIG_POWER_FSL
 #define CONFIG_POWER_FSL_MC13892
 #define CONFIG_SYS_DIALOG_PMIC_I2C_ADDR	0x48