]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: move pcf8563 to Kconfig
authorHeiko Schocher <hs@denx.de>
Fri, 16 Oct 2020 08:41:46 +0000 (10:41 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
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>
12 files changed:
configs/ethernut5_defconfig
configs/ids8313_defconfig
configs/ls1012aqds_qspi_defconfig
configs/ls1012aqds_tfa_SECURE_BOOT_defconfig
configs/ls1012aqds_tfa_defconfig
configs/ls2081ardb_defconfig
drivers/rtc/Kconfig
include/configs/ethernut5.h
include/configs/ids8313.h
include/configs/ls1012aqds.h
include/configs/ls2080ardb.h
scripts/config_whitelist.txt

index 9a079402784d9d06b84c561d3fcb2ef4a92861e6..9f57f34eab9e901866f3d9c422c987d1a4f82ce2 100644 (file)
@@ -66,6 +66,7 @@ CONFIG_SPI_FLASH_ATMEL=y
 CONFIG_SPI_FLASH_DATAFLASH=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_AT91=y
+CONFIG_RTC_PCF8563=y
 CONFIG_DM_SERIAL=y
 CONFIG_ATMEL_USART=y
 CONFIG_SPI=y
index 383c8cd0e332570632ecdee3137f6756d71525ba..3f5824d76fccdb56fd7b1d2b86113568fb02e8f6 100644 (file)
@@ -175,5 +175,6 @@ CONFIG_PHY_VITESSE=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
 # CONFIG_PCI is not set
+CONFIG_RTC_PCF8563=y
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
index 3c431af81bc93d4debb4921dfad2638a5b640a2d..1e8e3110f37ce0db5269e6fc52fc237a059d0c0c 100644 (file)
@@ -72,6 +72,7 @@ CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
+CONFIG_RTC_PCF8563=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
 CONFIG_SYS_NS16550=y
index 2e79536e5c5d1876cac15139d08f7ff42c7beeb6..dc405c725a5605ce7b58a875d497f7b40cfeeb97 100644 (file)
@@ -61,6 +61,7 @@ CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
+CONFIG_RTC_PCF8563=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
 CONFIG_SYS_NS16550=y
index 10d9a67d86caeb7ab58a5f58c24a836e711876e6..bf0321620247da6f81e8c69f1e374801df56a385 100644 (file)
@@ -72,6 +72,7 @@ CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
 CONFIG_DM_RTC=y
+CONFIG_RTC_PCF8563=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
 CONFIG_SYS_NS16550=y
index f5cb3bc7dabf40fa6380c049a0de6583e07b6b19..39e5d7d4216b7e1d7bdb870aceaa3c3b62ad8f7a 100644 (file)
@@ -51,6 +51,7 @@ CONFIG_PCI=y
 CONFIG_DM_PCI=y
 CONFIG_DM_PCI_COMPAT=y
 CONFIG_PCIE_LAYERSCAPE_RC=y
+CONFIG_RTC_PCF8563=y
 CONFIG_SCSI=y
 CONFIG_DM_SCSI=y
 CONFIG_CONS_INDEX=2
index 59e2fc44ba94e71454c8caed39d0ab6428023449..63662001c26df0d046985f9bbe65ebaadc832902 100644 (file)
@@ -75,6 +75,12 @@ config RTC_ISL1208
          This driver supports reading and writing the RTC/calendar and detects
          total power failures.
 
+config RTC_PCF8563
+       tristate "Philips PCF8563"
+       help
+         If you say yes here you get support for the Philips PCF8563 RTC
+         and compatible chips.
+
 config RTC_RV3029
        bool "Enable RV3029 driver"
        depends on DM_RTC
index d121b395dfe8a067d1a49cedeade6ec066ecbf1c..b513b4bc68a40d75023fed9f4967830a4f3f455a 100644 (file)
@@ -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
 
index bcd8aee7c323ce62a3e8fea274f39ec4a55c8cc7..362e2892d198712c1fc95c3bc217c4417c4d2271 100644 (file)
 #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
 
 /*
index 9498a03f405b0af745e2953c01cc8d26d4bf7dec..df2a613eaf390cf39da8c402e037f0d5d3744842 100644 (file)
@@ -50,7 +50,6 @@
 * RTC configuration
 */
 #define RTC
-#define CONFIG_RTC_PCF8563 1
 #define CONFIG_SYS_I2C_RTC_ADDR         0x51  /* Channel 3*/
 
 /* EEPROM */
index b7a7dc0a64a7386d0bfd0eb59b8e8cce8b04d56b..ab4214c2653d060a586a854532a564e465f526e7 100644 (file)
@@ -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
index dc4f0b050c9564eef2ac2cedb11273337feecdb4..dabe32933628552c68aa2f1ec3ec9c607a342a58 100644 (file)
@@ -1412,7 +1412,6 @@ CONFIG_RTC_MC13XXX
 CONFIG_RTC_MCFRRTC
 CONFIG_RTC_MCP79411
 CONFIG_RTC_MXS
-CONFIG_RTC_PCF8563
 CONFIG_RTC_PT7C4338
 CONFIG_RUN_FROM_DDR0
 CONFIG_RUN_FROM_DDR1