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>
This commit is contained in:
Tom Rini
2022-11-19 18:45:31 -05:00
parent c3187fb144
commit ea467ea1cd
84 changed files with 105 additions and 55 deletions

View File

@@ -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 */
/*

View File

@@ -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
/*

View File

@@ -311,8 +311,6 @@
/*
* RTC configuration
*/
#define RTC
#define CONFIG_RTC_DS1337 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/*

View File

@@ -285,8 +285,6 @@
/*
* RTC configuration
*/
#define RTC
#define CONFIG_RTC_DS1337 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/*DVI encoder*/

View File

@@ -150,7 +150,6 @@
*/
#ifdef CONFIG_CMD_DATE
#define CONFIG_RTC_DS1338
#define CONFIG_I2C_RTC_ADDR 0x68
#endif

View File

@@ -46,7 +46,6 @@
/*
* RTC configuration
*/
#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/

View File

@@ -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

View File

@@ -280,7 +280,6 @@
/*
* RTC configuration
*/
#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
#ifdef CONFIG_FSL_DSPI

View File

@@ -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 */

View File

@@ -227,8 +227,6 @@
/*
* RTC configuration
*/
#define RTC
#define CONFIG_RTC_DS3231 1
#define CFG_SYS_I2C_RTC_ADDR 0x68
/* Initial environment variables */

View File

@@ -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

View File

@@ -74,7 +74,6 @@
#define I2C_MUX_CH_DEFAULT 0x8
/* RTC */
#define RTC
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
/* Qixis */

View File

@@ -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" \

View File

@@ -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

View File

@@ -329,7 +329,6 @@
* I2C2 EEPROM
*/
#define CONFIG_RTC_PT7C4338
#define CFG_SYS_I2C_RTC_ADDR 0x68
#define CFG_SYS_I2C_PCA9557_ADDR 0x18

View File

@@ -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
*/

View File

@@ -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 */

View File

@@ -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
*/