]> git.baikalelectronics.ru Git - uboot.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)
commit713cd583a311f9f326ab937a90dce94995dcd9bc
tree887910afa1ac6c108226de4616ef2e9f8a795e41
parent3692f51067d1b36233c00003c4e00c68e0c3b7be
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