From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick DELAUNAY Date: Thu, 9 Apr 2020 16:07:48 +0000 Subject: [PATCH] configs: migrate CONFIG_SYS_ARM_CACHE_* in Kconfig In-Reply-To: <6aceec88-f20b-8fd4-3622-87d7be716b6d@denx.de> References: <20200409124131.1.Ib3bfddef91204749326b4bdd0a089ed0bfcac33e@changeid> <6aceec88-f20b-8fd4-3622-87d7be716b6d@denx.de> Message-ID: <1586448468096.19517@st.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Marek > From: Marek Vasut > 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