rtc: Remove legacy DS1338 support
PATCH 1/1 rtc: Remove legacy DS1338 support
The DS1338 RTC chip is supported in DM mode by the DS1307 driver, and at this point all users have been using this functionality. It was a function of Kconfig configuration that implied otherwise. Remove the unused legacy symbols.
Signed-off-by Tom Rini <[email protected]>
--- configs/eb_cpu5282_defconfig | 2 +- configs/eb_cpu5282_internal_defconfig | 2 +- drivers/rtc/Kconfig | 6 ------ drivers/rtc/Makefile | 1 - 4 files changed, 2 insertions(+), 9 deletions(-)
configs/eb_cpu5282_defconfig +1 -1
@@ -44,6 +44,6 @@ CONFIG_SYS_MAX_FLASH_SECT=128 CONFIG_MCFFEC=y CONFIG_MII=y CONFIG_DM_RTC=y -CONFIG_RTC_DS1338=y +CONFIG_RTC_DS1307=y CONFIG_MCFUART=y CONFIG_WDT=y
configs/eb_cpu5282_internal_defconfig +1 -1
@@ -42,6 +42,6 @@ CONFIG_SYS_MAX_FLASH_SECT=128 CONFIG_MCFFEC=y CONFIG_MII=y CONFIG_DM_RTC=y -CONFIG_RTC_DS1338=y +CONFIG_RTC_DS1307=y CONFIG_MCFUART=y CONFIG_WDT=y
drivers/rtc/Kconfig +0 -6
@@ -81,12 +81,6 @@ config RTC_DS1337_NOOSC bool "Enable support for no oscillator output in DS1337 driver" depends on RTC_DS1337 -config RTC_DS1338 - bool "Enable DS1338 driver" - help - Support for Dallas Semiconductor (now Maxim) DS1338 and compatible - Real Time Clock devices. - config RTC_DS1374 bool "Enable DS1374 driver" depends on !DM_RTC
drivers/rtc/Makefile +0 -1
@@ -9,7 +9,6 @@ obj-$(CONFIG_$(PHASE_)DM_RTC) += rtc-uclass.o obj-$(CONFIG_RTC_ARMADA38X) += armada38x.o obj-$(CONFIG_RTC_DAVINCI) += davinci.o obj-$(CONFIG_RTC_DS1307) += ds1307.o -obj-$(CONFIG_RTC_DS1338) += ds1307.o obj-$(CONFIG_RTC_DS1337) += ds1337.o obj-$(CONFIG_RTC_DS1374) += ds1374.o obj-$(CONFIG_RTC_DS1672) += ds1672.o
Signature · 1 line
2.43.0
Quoted 6 lines · Tom Rini
The DS1338 RTC chip is supported in DM mode by the DS1307 driver, and at this point all users have been using this functionality. It was a function of
Kconfigconfiguration that implied otherwise. Remove the unused legacy symbols.
Applied to u-boot/next, thanks!
[1/1] rtc: Remove legacy DS1338 support
commit: 592c244a3a76e17df165f3662a596f2f9e970ef7
Signature · 1 line
Tom