[PATCH v1 2/3] arch: arm: lib: cache_v8: agilex5: Add weak function in cache_v8

Ng, Boon Khai boon.khai.ng at altera.com
Thu Aug 14 03:45:07 CEST 2025


Hi Tom,

> What does your patch and config look like that shows this problem? It's fine to
> have an undefined function when if
> (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) becomes if (0) once evaluated.
> 
> --

I apologies, it was my mistake, where I have a script compiling the wrong folder
without both weak function, and (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF))  changes. 

I'm preparing v2 patches, to include the  (!CONFIG_IS_ENABLED(SYS_DCACHE_OFF)) 
and remove the weak function.

Regards,
Boon Khai.


More information about the U-Boot mailing list