[PATCH 1/7] rtc: davinci: enable compilation for omap architectures

Lokesh Vutla lokeshvutla at ti.com
Thu May 27 11:59:27 CEST 2021



On 07/05/21 9:45 am, Dario Binacchi wrote:
> 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 at libero.it>
> ---
> 
>  drivers/rtc/Kconfig   |  7 +++++++
>  drivers/rtc/davinci.c | 11 ++++++++---
>  2 files changed, 15 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index c84a9d2b27..cbdfddb80f 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -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

I assume you are converting to a Kconfig symbol? Can you keep this as a separate
patch and use tools/moveconfig.py?

Thanks and regards,
Lokesh


More information about the U-Boot mailing list