mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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 */
|
||||
|
||||
/*
|
||||
|
||||
@@ -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
|
||||
|
||||
/*
|
||||
|
||||
@@ -311,8 +311,6 @@
|
||||
/*
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CONFIG_RTC_DS1337 1
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x68
|
||||
|
||||
/*
|
||||
|
||||
@@ -285,8 +285,6 @@
|
||||
/*
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CONFIG_RTC_DS1337 1
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x68
|
||||
|
||||
/*DVI encoder*/
|
||||
|
||||
@@ -150,7 +150,6 @@
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_CMD_DATE
|
||||
#define CONFIG_RTC_DS1338
|
||||
#define CONFIG_I2C_RTC_ADDR 0x68
|
||||
#endif
|
||||
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
/*
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -280,7 +280,6 @@
|
||||
/*
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
|
||||
|
||||
#ifdef CONFIG_FSL_DSPI
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -227,8 +227,6 @@
|
||||
/*
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CONFIG_RTC_DS3231 1
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x68
|
||||
|
||||
/* Initial environment variables */
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -74,7 +74,6 @@
|
||||
#define I2C_MUX_CH_DEFAULT 0x8
|
||||
|
||||
/* RTC */
|
||||
#define RTC
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
|
||||
|
||||
/* Qixis */
|
||||
|
||||
@@ -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" \
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -329,7 +329,6 @@
|
||||
* I2C2 EEPROM
|
||||
*/
|
||||
|
||||
#define CONFIG_RTC_PT7C4338
|
||||
#define CFG_SYS_I2C_RTC_ADDR 0x68
|
||||
#define CFG_SYS_I2C_PCA9557_ADDR 0x18
|
||||
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user