On Wed, Aug 06, 2025 at 11:22:05AM +0800, Boon Khai Ng wrote: > Add weak function dcache_disable for undefined symbol error > when dcache for SPL is not enabled. The dcache_disable function > is being called from spl_atf.c file > > Add weak function dcache_status for undefined symbol error > when dcache for SPL is not enabled. The dcache_status function > is being called from common/memsize.c file "get_ram_size" > function, which in-turn was called from "sdram_size_check" > function defined in sdram_soc64.c file > > Add weak function mmu_status for undefined symbol error > when dcache for SPL is not enabled. The mmu_status function > is being called from arch/arm/include/asm/io.h file "__memcpy_fromio" > and "__memcpy_toio "functions, which in-turn was called from > "cadence_qspi_apb_write_execute" and "cadence_qspi_apb_read_execute" > functions defined in cadence_qspi_apb.c file > > Signed-off-by: Tanmay Kathpalia <tanmay.kathpa...@altera.com> > Signed-off-by: Boon Khai Ng <boon.khai...@altera.com>
The callers of dcache_disable/etc should be doing: if (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) ... -- Tom
signature.asc
Description: PGP signature