]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rtc: davinci: enable compilation for omap architectures
authorDario Binacchi <dariobin@libero.it>
Wed, 2 Jun 2021 20:37:58 +0000 (22:37 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Wed, 9 Jun 2021 16:53:44 +0000 (22:23 +0530)
The Davinci's onchip RTC is also present on TI OMAP1, AM33XX, AM43XX and
DRA7XX SOCs. So, let's enable compilation for these architectures too.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210602203805.11494-2-dariobin@libero.it
drivers/rtc/Kconfig

index c84a9d2b27b75c56ce04e57abc3a79b5afa7081a..cbdfddb80f668a37c7282cc06c90e046b3f425da 100644 (file)
@@ -188,4 +188,11 @@ config RTC_ABX80X
          families of ultra-low-power  battery- and capacitor-backed real-time
          clock chips.
 
+config RTC_DAVINCI
+       bool "Enable TI OMAP RTC driver"
+       depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
+       help
+         Say "yes" here to support the on chip real time clock
+         present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
+
 endmenu