summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-20 02:45:31 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:08:37 +0300
commitea467ea1cda0c9f6b85be34b5e1bbb6f905fa814 (patch)
tree114229d90173db2a66448139df1957ca93dd353c /include/configs
parentc3187fb1448baf142d43fcc3d6f0e88e082050b9 (diff)
downloadu-boot-ea467ea1cda0c9f6b85be34b5e1bbb6f905fa814.tar.xz
Convert CONFIG_RTC_DS1337 et al to Kconfig
This converts the following to Kconfig: CONFIG_RTC_DS1337 CONFIG_RTC_DS1337_NOOSC CONFIG_RTC_DS1338 CONFIG_RTC_DS1374 CONFIG_RTC_DS3231 CONFIG_RTC_MC13XXX CONFIG_RTC_MXS CONFIG_RTC_PT7C4338 Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/MPC837XERDB.h1
-rw-r--r--include/configs/P1010RDB.h1
-rw-r--r--include/configs/T102xRDB.h2
-rw-r--r--include/configs/T104xRDB.h2
-rw-r--r--include/configs/eb_cpu5282.h1
-rw-r--r--include/configs/ls1012aqds.h1
-rw-r--r--include/configs/ls1046afrwy.h1
-rw-r--r--include/configs/ls1088aqds.h1
-rw-r--r--include/configs/ls1088ardb.h3
-rw-r--r--include/configs/ls2080aqds.h2
-rw-r--r--include/configs/ls2080ardb.h2
-rw-r--r--include/configs/lx2160a_common.h1
-rw-r--r--include/configs/mx28evk.h5
-rw-r--r--include/configs/mx51evk.h1
-rw-r--r--include/configs/p1_p2_rdb_pc.h1
-rw-r--r--include/configs/qemu-ppce500.h3
-rw-r--r--include/configs/tqma6_wru4.h2
-rw-r--r--include/configs/work_92105.h2
18 files changed, 0 insertions, 32 deletions
diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 2796adbdcd..de63a0f199 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -167,7 +167,6 @@
/*
* Config on-board RTC
*/
-#define CONFIG_RTC_DS1374 /* use ds1374 rtc via i2c */
#define CFG_SYS_I2C_RTC_ADDR 0x68 /* at address 0x68 */
/*
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 0a1b932e94..c0805f979b 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -341,7 +341,6 @@ extern unsigned long get_sdram_size(void);
/* enable read and write access to EEPROM */
/* RTC */
-#define CONFIG_RTC_PT7C4338
#define CFG_SYS_I2C_RTC_ADDR 0x68
/*
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index e394237daf..623d4cf556 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -311,8 +311,6 @@
/*
* RTC configuration
*/
-#define RTC
-#define CONFIG_RTC_DS1337 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/*
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index f681a21822..d3fd10526b 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -285,8 +285,6 @@
/*
* RTC configuration
*/
-#define RTC
-#define CONFIG_RTC_DS1337 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/*DVI encoder*/
diff --git a/include/configs/eb_cpu5282.h b/include/configs/eb_cpu5282.h
index 426155dbdb..21eab9b3a4 100644
--- a/include/configs/eb_cpu5282.h
+++ b/include/configs/eb_cpu5282.h
@@ -150,7 +150,6 @@
*/
#ifdef CONFIG_CMD_DATE
-#define CONFIG_RTC_DS1338
#define CONFIG_I2C_RTC_ADDR 0x68
#endif
diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h
index e772c01907..495bb3911b 100644
--- a/include/configs/ls1012aqds.h
+++ b/include/configs/ls1012aqds.h
@@ -46,7 +46,6 @@
/*
* RTC configuration
*/
-#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
diff --git a/include/configs/ls1046afrwy.h b/include/configs/ls1046afrwy.h
index 58ae0fb0a6..1759d25f3a 100644
--- a/include/configs/ls1046afrwy.h
+++ b/include/configs/ls1046afrwy.h
@@ -66,7 +66,6 @@
#define I2C_MUX_CH_RTC 0x1 /* Channel 0*/
/* RTC */
-#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 0 I2C bus 0*/
#define CFG_SYS_RTC_BUS_NUM 0
diff --git a/include/configs/ls1088aqds.h b/include/configs/ls1088aqds.h
index d84622f322..a35045d640 100644
--- a/include/configs/ls1088aqds.h
+++ b/include/configs/ls1088aqds.h
@@ -280,7 +280,6 @@
/*
* RTC configuration
*/
-#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
#ifdef CONFIG_FSL_DSPI
diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h
index 187b3072f0..7bc4fc6a66 100644
--- a/include/configs/ls1088ardb.h
+++ b/include/configs/ls1088ardb.h
@@ -186,13 +186,10 @@
#define I2C_MUX_CH_DEFAULT 0x8
#define I2C_MUX_CH5 0xD
-#ifndef SPL_NO_RTC
/*
* RTC configuration
*/
-#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
-#endif
#ifndef SPL_NO_ENV
/* Initial environment variables */
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 067587b53c..924d4057d9 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -227,8 +227,6 @@
/*
* RTC configuration
*/
-#define RTC
-#define CONFIG_RTC_DS3231 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/* Initial environment variables */
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 32a1194872..c50b603068 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -210,11 +210,9 @@
/*
* RTC configuration
*/
-#define RTC
#ifdef CONFIG_TARGET_LS2081ARDB
#define CFG_SYS_I2C_RTC_ADDR 0x51
#else
-#define CONFIG_RTC_DS3231 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
#endif
diff --git a/include/configs/lx2160a_common.h b/include/configs/lx2160a_common.h
index ff85d966e6..a469c83fa4 100644
--- a/include/configs/lx2160a_common.h
+++ b/include/configs/lx2160a_common.h
@@ -74,7 +74,6 @@
#define I2C_MUX_CH_DEFAULT 0x8
/* RTC */
-#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
/* Qixis */
diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h
index bc8c893370..c740d85332 100644
--- a/include/configs/mx28evk.h
+++ b/include/configs/mx28evk.h
@@ -17,11 +17,6 @@
/* UBI and NAND partitioning */
-/* RTC */
-#ifdef CONFIG_CMD_DATE
-#define CONFIG_RTC_MXS
-#endif
-
/* Extra Environment */
#define CONFIG_EXTRA_ENV_SETTINGS \
"ubifs_file=filesystem.ubifs\0" \
diff --git a/include/configs/mx51evk.h b/include/configs/mx51evk.h
index d9d76d7c08..ddd37b3936 100644
--- a/include/configs/mx51evk.h
+++ b/include/configs/mx51evk.h
@@ -26,7 +26,6 @@
#define CONFIG_FSL_PMIC_CLK 2500000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
#define CONFIG_FSL_PMIC_BITLEN 32
-#define CONFIG_RTC_MC13XXX
/*
* MMC Configs
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index eda2d43d0c..c8acce8b06 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -329,7 +329,6 @@
* I2C2 EEPROM
*/
-#define CONFIG_RTC_PT7C4338
#define CFG_SYS_I2C_RTC_ADDR 0x68
#define CFG_SYS_I2C_PCA9557_ADDR 0x18
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index d1b20da24a..30a9eae852 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -44,9 +44,6 @@ extern unsigned long long get_phys_ccsrbar_addr_early(void);
#define CFG_SYS_INIT_SP_OFFSET (CFG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
-/* RTC */
-#define CONFIG_RTC_PT7C4338
-
/*
* Miscellaneous configurable options
*/
diff --git a/include/configs/tqma6_wru4.h b/include/configs/tqma6_wru4.h
index ce897fcd93..4d8839b6e6 100644
--- a/include/configs/tqma6_wru4.h
+++ b/include/configs/tqma6_wru4.h
@@ -16,11 +16,9 @@
/* Watchdog */
/* Config on-board RTC */
-#define CONFIG_RTC_DS1337
#define CFG_SYS_RTC_BUS_NUM 2
#define CFG_SYS_I2C_RTC_ADDR 0x68
/* Turn off RTC square-wave output to save battery */
-#define CONFIG_RTC_DS1337_NOOSC
/* LED */
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 065006f912..010da1531f 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -19,8 +19,6 @@
#define CFG_SYS_SDRAM_BASE EMC_DYCS0_BASE
#define CFG_SYS_SDRAM_SIZE SZ_128M
-#define CONFIG_RTC_DS1374
-
/*
* U-Boot General Configurations
*/