[PATCH v5 4/4] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER

Clément Léger clement.leger at bootlin.com
Mon Mar 7 12:10:51 CET 2022


Le Mon, 7 Mar 2022 11:06:17 +0000,
<Claudiu.Beznea at microchip.com> a écrit :

> > diff --git a/configs/sama5d2_icp_mmc_defconfig b/configs/sama5d2_icp_mmc_defconfig
> > index 7761a57e0c..2eb2e92110 100644
> > --- a/configs/sama5d2_icp_mmc_defconfig
> > +++ b/configs/sama5d2_icp_mmc_defconfig
> > @@ -83,5 +83,6 @@ CONFIG_ATMEL_USART=y
> >  CONFIG_TIMER=y
> >  CONFIG_SPL_TIMER=y
> >  CONFIG_ATMEL_PIT_TIMER=y
> > +CONFIG_ATMEL_TCB_TIMER=y  
> 
> As far as I can tell, dm_timer_init() will probe the first available timer
> if there is no CONFIG_OF_REAL enabled + tick-timer DT entry. With this,
> having 2 timers enabled in config might not lead to using TCB all the time
> as it might be expected.

Hi Claudiu,

Hum indeed. Should I remove this commit and let the user select the TCB
when needed ?

Thanks,

> 
> Thank you,
> Claudiu Beznea


-- 
Clément Léger,
Embedded Linux and Kernel engineer at Bootlin
https://bootlin.com


More information about the U-Boot mailing list