]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: CONFIGS_RTC_PL031 must depend on CONFIGS_DM_RTC
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 5 Dec 2024 20:36:19 +0000 (21:36 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Dec 2024 23:47:23 +0000 (17:47 -0600)
Building qemu_arm64_defconfig with CONFIGS_DM_RTC=n and CONFIGS_RTC_PL031=y
leads to a build failure.

Adjust the vexpress64 configuration to avoid circular dependency.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
board/armltd/vexpress64/Kconfig
drivers/rtc/Kconfig

index cf998096e45fa3c4646482de3a9a3146dfbd27be..584b5455e972b84dd3d6469072323c010e859f91 100644 (file)
@@ -16,8 +16,8 @@ config VEXPRESS64_BASE_MODEL
        select VIRTIO_BLK if VIRTIO_MMIO
        select VIRTIO_NET if VIRTIO_MMIO
        select DM_ETH if VIRTIO_NET
+       imply DM_RTC
        imply RTC_PL031
-       select DM_RTC if RTC_PL031
        imply EFI_SET_TIME if DM_RTC
        select LINUX_KERNEL_IMAGE_HEADER
        select POSITION_INDEPENDENT
index 7fc53a6d61ed78299812d083e9e07f4a03c003cf..9c2d139824779775029242887bbada13894093e0 100644 (file)
@@ -203,6 +203,7 @@ config RTC_RX8025
 
 config RTC_PL031
        bool "Enable ARM AMBA PL031 RTC driver"
+       depends on DM_RTC
        help
          The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
          peripheral based on the Advanced Microcontroller Bus Architecture