[PoC 060/241] global: Migrate CONFIG_I2C_RTC_ADDR to CFG

Tom Rini
2022-11-20T13:53:06Z

include/configs/eb_cpu5282.h | 2 +-
scripts/config_whitelist.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index 5ef51c94dab8..a4370ca5c7cc 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -150,7 +150,7 @@
*/

#ifdef CONFIG_CMD_DATE
-#define CONFIG_I2C_RTC_ADDR 0x68
+#define CFG_I2C_RTC_ADDR 0x68
#endif

#endif /* _CONFIG_M5282EVB_H */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1798a7420cd7..e507dca614f5 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -62,7 +62,7 @@ CFG_I2C_MULTI_BUS
CFG_I2C_MVTWSI
CFG_I2C_MVTWSI_BASE0
CFG_I2C_MVTWSI_BASE1
-CONFIG_I2C_RTC_ADDR
+CFG_I2C_RTC_ADDR
CONFIG_ICS307_REFCLK_HZ
CONFIG_IMX6_PWM_PER_CLK
CONFIG_IPADDR
--
2.25.1