]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: caches: add DCACHE_DEFAULT_OPTION
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 24 Apr 2020 18:20:16 +0000 (20:20 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 1 May 2020 15:34:01 +0000 (11:34 -0400)
commit2e8d68e241b35d383a057b014287a756624a32bc
tree887910afa1ac6c108226de4616ef2e9f8a795e41
parentc8ec1e3ff505a6ce44ec36e77d0579f5d01ed6b8
arm: caches: add DCACHE_DEFAULT_OPTION

Add the new flags DCACHE_DEFAULT_OPTION to define the default
option to use according the compilation flags
CONFIG_SYS_ARM_CACHE_*.

This new compilation flag allows to simplify dram_bank_mmu_setup()
and can be used as third parameter (option=dcache option to select)
of mmu_set_region_dcache_behaviour function.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/include/asm/system.h
arch/arm/lib/cache-cp15.c