rtc: move pcf8563 to Kconfig
add Kconfig option for pcf8563 driver and run tools/moveconfig.py Signed-off-by: Heiko Schocher <hs@denx.de> Reviewed-by: Stefan Roese <sr@denx.de>
This commit is contained in:
@@ -92,7 +92,6 @@
|
||||
|
||||
/* RTC */
|
||||
#if defined(CONFIG_CMD_DATE) || defined(CONFIG_CMD_SNTP)
|
||||
#define CONFIG_RTC_PCF8563
|
||||
#define CONFIG_SYS_I2C_RTC_ADDR 0x51
|
||||
#endif
|
||||
|
||||
|
||||
@@ -168,7 +168,6 @@
|
||||
#define CONFIG_SYS_FSL_I2C_SPEED 400000
|
||||
#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
|
||||
#define CONFIG_SYS_FSL_I2C_OFFSET 0x3100
|
||||
#define CONFIG_RTC_PCF8563
|
||||
#define CONFIG_SYS_I2C_RTC_ADDR 0x51
|
||||
|
||||
/*
|
||||
|
||||
@@ -50,7 +50,6 @@
|
||||
* RTC configuration
|
||||
*/
|
||||
#define RTC
|
||||
#define CONFIG_RTC_PCF8563 1
|
||||
#define CONFIG_SYS_I2C_RTC_ADDR 0x51 /* Channel 3*/
|
||||
|
||||
/* EEPROM */
|
||||
|
||||
@@ -279,7 +279,6 @@ unsigned long get_board_sys_clk(void);
|
||||
*/
|
||||
#define RTC
|
||||
#ifdef CONFIG_TARGET_LS2081ARDB
|
||||
#define CONFIG_RTC_PCF8563 1
|
||||
#define CONFIG_SYS_I2C_RTC_ADDR 0x51
|
||||
#else
|
||||
#define CONFIG_RTC_DS3231 1
|
||||
|
||||
Reference in New Issue
Block a user