[U-Boot] [PATCH v3 09/10] sun5i: add defines used by the PSCI code

Antoine Tenart antoine.tenart at free-electrons.com
Thu Oct 27 15:04:55 CEST 2016


Hi,

On Wed, Oct 26, 2016 at 02:34:30PM +0200, Maxime Ripard wrote:
> On Wed, Oct 26, 2016 at 02:10:32PM +0200, Antoine Tenart wrote:
> > The sun5i SoCs can take advantage of the newly introduce PSCI suspend
> > function. Add defines used by the PSCI code.
> > 
> > Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
> > ---
> >  include/configs/sun5i.h | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h
> > index d2576599036a..86eeb847ac42 100644
> > --- a/include/configs/sun5i.h
> > +++ b/include/configs/sun5i.h
> > @@ -19,6 +19,9 @@
> >  
> >  #define CONFIG_SUNXI_USB_PHYS	2
> >  
> > +#define CONFIG_ARMV7_SECURE_BASE	SUNXI_SRAM_A1_BASE
> > +#define CONFIG_TIMER_CLK_FREQ		24000000
> 
> That seems wrong. AFAIK, the TIMER_CLK_FREQ is only used to set CNTFRQ
> in the arch timers, and the A13 (and related) doesn't have them.

That's right the A13 doesn't have one. I'll remove this define then.

Thanks!

Antoine

-- 
Antoine Ténart, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161027/fb239ac0/attachment.sig>


More information about the U-Boot mailing list