[PATCH] arm: stm32mp: Fix compilation issue when SYS_DCACHE_OFF and/or SYS_DCACHE_SYS are enabled

Patrick DELAUNAY patrick.delaunay at foss.st.com
Fri Mar 12 10:52:41 CET 2021


Hi Patrice,

On 2/24/21 1:53 PM, Patrice Chotard wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> 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 <patrice.chotard at st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> ---
>
>   arch/arm/mach-stm32mp/cpu.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>


Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick


More information about the U-Boot mailing list