]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rtc: Remove legacy DS1338 support
authorTom Rini <trini@konsulko.com>
Fri, 20 Mar 2026 20:53:31 +0000 (14:53 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 3 Apr 2026 18:06:21 +0000 (12:06 -0600)
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 <trini@konsulko.com>
configs/eb_cpu5282_defconfig
configs/eb_cpu5282_internal_defconfig
drivers/rtc/Kconfig
drivers/rtc/Makefile

index e7a78b656a06dff05eaf12823e7cc7b4ca6d7323..64e0267af91d58c6448183d8b3a44730bdff03aa 100644 (file)
@@ -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
index 137b346e5699f8afc0cfb21e21290596a55af002..cf25d24bf9d67f71f9414a8a9e6c083e0b6e986c 100644 (file)
@@ -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
index ef1663f3450e304c2875fd5e476a24ce53f7cf05..cb0a672668ea412eab5f0cea938018da9f685af6 100644 (file)
@@ -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
index 9df373d51484185bb0121a99c33e22e9fc422b5d..782f5a3bc3dae79cd9a465a99c616848b4983ec0 100644 (file)
@@ -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