[PATCH 2/3] arm: caches: add DCACHE_DEFAULT_OPTION

Marek Vasut marex at denx.de
Fri Apr 3 23:29:06 CEST 2020


On 4/3/20 10:28 AM, Patrick Delaunay wrote:
> Add the new flags DCACHE_DEFAULT_OPTION to define the default
> option to use according the compilation flags
> CONFIG_SYS_ARM_CACHE_WRITETHROUGH or CONFIG_SYS_ARM_CACHE_WRITEALLOC.

Can't you unify these macros into a single Kconfig "select" statement
instead , and then just select the matching cache configuration in Kconfig ?

Or better yet, can't you extract this info from DT ?


More information about the U-Boot mailing list