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

Dario Binacchi dariobin at libero.it
Fri May 28 13:07:50 CEST 2021


Hi Lokesh,

> Il 27/05/2021 11:59 Lokesh Vutla <lokeshvutla at ti.com> ha scritto:
> 
>  
> 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?

The CONFIG_RTC_DAVINCI symbol was only in the Makefile. I ran moveconfig.py and in 
fact it didn't find it in any configuration header.
I'll add the Kconfig symbol in a separate patch.

Thanks and regards
Dario Binacchi

> 
> Thanks and regards,
> Lokesh


More information about the U-Boot mailing list