rtc: move RTC_RX8025 to Kconfig
authorHeiko Schocher <hs@denx.de>
Tue, 16 Jul 2019 03:31:33 +0000 (05:31 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 29 Jul 2019 13:32:11 +0000 (09:32 -0400)
move RTC_RX8025 to Kconfig and fixup board configs.

Signed-off-by: Heiko Schocher <hs@denx.de>
configs/caddy2_defconfig
configs/socrates_defconfig
configs/vme8349_defconfig
drivers/rtc/Kconfig
include/configs/caddy2.h
include/configs/socrates.h
include/configs/vme8349.h
scripts/config_whitelist.txt

index 33253b1332e7ff0c4e8497a0a2c64a89b70e7b49..51c37e2e1a33c29b052cefac5a16f0dda35adef3 100644 (file)
@@ -111,6 +111,7 @@ CONFIG_MTD_NOR_FLASH=y
 CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_E1000=y
+CONFIG_RTC_RX8025=y
 CONFIG_BAUDRATE=9600
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
index 2d5e15887147587c62ada3cef9c97776979a615c..1dadc122cf6c783ea7caa1c17464f7e2f87a7fab 100644 (file)
@@ -37,6 +37,7 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_PHY_MARVELL=y
 CONFIG_MII=y
 CONFIG_TSEC_ENET=y
+CONFIG_RTC_RX8025=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 # CONFIG_USB_EHCI_HCD is not set
index 77c7904a2c953c0710d0f0f52b85cbf4aca80f3a..f6b9eb6c2c245d1a70eaf224bad6764c7d1e9ad2 100644 (file)
@@ -114,6 +114,7 @@ CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_PHY_MARVELL=y
 CONFIG_TSEC_ENET=y
+CONFIG_RTC_RX8025=y
 CONFIG_BAUDRATE=9600
 CONFIG_SYS_NS16550=y
 CONFIG_OF_LIBFDT=y
index 0b58a18f5fc11c3b27b637fc71651b0ba3971d47..860b73d3690b74156dc5ea0e6ef1c81c48f10252 100644 (file)
@@ -86,6 +86,11 @@ config RTC_RX8010SJ
        help
          Support for Epson RX8010SJ Real Time Clock devices.
 
+config RTC_RX8025
+       bool "Enable RX8025 driver"
+       help
+         Support for Epson RX8025 Real Time Clock devices.
+
 config RTC_PL031
        bool "Enable ARM AMBA PL031 RTC driver"
        help
index 15ac17985f39bf644503281ce3aedb0e41351bc6..89deeac4e7dee510de795d4c68858a14ed6de761 100644 (file)
  */
 #define CONFIG_SYS_RTC_BUS_NUM  0x01
 #define CONFIG_SYS_I2C_RTC_ADDR        0x32
-#define CONFIG_RTC_RX8025
 
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR     0x000043f0
index 3f84fabdb60e03b1d8d6bf96abfd86fd39f4bc82..7d266d1bcd52cbeba4780c318df71a539824ae79 100644 (file)
 #define CONFIG_SYS_FSL_I2C2_OFFSET     0x3100
 
 /* I2C RTC */
-#define CONFIG_RTC_RX8025              /* Use Epson rx8025 rtc via i2c */
 #define CONFIG_SYS_I2C_RTC_ADDR        0x32    /* at address 0x32              */
 
 /* I2C W83782G HW-Monitoring IC */
index 1c3430d849183161bb56252d066b50751b8d29aa..a4f2af4962de14de2ae05284ed470754c1ceb0c1 100644 (file)
  */
 #define CONFIG_SYS_RTC_BUS_NUM  0x01
 #define CONFIG_SYS_I2C_RTC_ADDR        0x32
-#define CONFIG_RTC_RX8025
 
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR     0x000043f0
index 495988cdcf41024cbe83987b3d8fbda91d3abd47..bcb24d1bc3925633400358a6dcde283abff122fe 100644 (file)
@@ -1552,7 +1552,6 @@ CONFIG_RTC_MCP79411
 CONFIG_RTC_MXS
 CONFIG_RTC_PCF8563
 CONFIG_RTC_PT7C4338
-CONFIG_RTC_RX8025
 CONFIG_RUN_FROM_DDR0
 CONFIG_RUN_FROM_DDR1
 CONFIG_RUN_FROM_IRAM_ONLY