[PATCH] configs: migrate CONFIG_SYS_ARM_CACHE_* in Kconfig

Patrick DELAUNAY patrick.delaunay at st.com
Thu Apr 9 18:07:48 CEST 2020


Dear Marek

> From: Marek Vasut <marex at denx.de>
> Sent: jeudi 9 avril 2020 12:47
> 
> On 4/9/20 12:42 PM, Patrick Delaunay wrote:
> 
> [...]
> 
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index
> > bbb1e2738b..4845a23993 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -340,6 +340,33 @@ config SYS_CACHELINE_SIZE
> >  	default 64 if SYS_CACHE_SHIFT_6
> >  	default 32 if SYS_CACHE_SHIFT_5
> >
> > +choice
> > +	prompt "Select the ARM data write cache policy"
> > +	default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS
> ||
> > +TARGET_BCMNSP
> 
> || TARGET is PXA || TARGET is renesas RZA1 , and then you don't need the
> defconfig hacks below :)

Thanks for review, 

I will it in V2

+	default SYS_ARM_CACHE_WRITETHROUGH if TARGET_BCMCYGNUS || \
+					      TARGET_BCMNSP || CPU_PXA || RZA1


Regards
Patrick


More information about the U-Boot mailing list