From: Patrice CHOTARD Date: Fri, 12 Mar 2021 13:13:11 +0100 Subject: [PATCH] arm: stm32mp: Fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled In-Reply-To: <74458edd-be41-8f3f-b220-f81130274f35@foss.st.com> References: <20210224125327.21937-1-patrice.chotard@foss.st.com> <74458edd-be41-8f3f-b220-f81130274f35@foss.st.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi On 3/12/21 10:52 AM, Patrick DELAUNAY wrote: > Hi Patrice, > > On 2/24/21 1:53 PM, Patrice Chotard wrote: >> From: Patrice Chotard >> >> Fix following compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS >> are enabled : >> >> arch/arm/mach-stm32mp/cpu.c: In function ?early_enable_caches?: >> arch/arm/mach-stm32mp/cpu.c:223:10: error: ?volatile struct arch_global_data? has no member named ?tlb_size? >> ?? 223 |? gd->arch.tlb_size = PGTABLE_SIZE; >> ?????? |????????? ^ >> arch/arm/mach-stm32mp/cpu.c:224:10: error: ?volatile struct arch_global_data? has no member named ?tlb_addr? >> ?? 224 |? gd->arch.tlb_addr = (unsigned long)&early_tlb; >> ?????? |????????? ^ >> >> Signed-off-by: Patrice Chotard >> Signed-off-by: Patrice Chotard >> --- >> >> ? arch/arm/mach-stm32mp/cpu.c | 6 ++++-- >> ? 1 file changed, 4 insertions(+), 2 deletions(-) >> > > > Reviewed-by: Patrick Delaunay > > Thanks > Patrick Applied to u-boot-stm/next Thanks Patrice