]> git.dujemihanovic.xyz Git - u-boot.git/commit
arch: cache: cp15: Add mmu_set_region_dcache_behaviour() when SYS_DCACHE_OFF is enable
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 24 Feb 2021 12:48:42 +0000 (13:48 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 9 Jul 2021 15:36:12 +0000 (11:36 -0400)
commitee0fbf4ef766f8d6a5a2d35906dfa2e3987f6f66
treeced410a99328c6e0c01e0fe0b9833835881db6fd
parentbfb798461af42ac628e22cbf5a0576fa156e8787
arch: cache: cp15: Add mmu_set_region_dcache_behaviour() when SYS_DCACHE_OFF is enable

Fix following compilation issue when SYS_DCACHE_OFF is enable:
drivers/misc/scmi_agent.c:128: undefined reference to `mmu_set_region_dcache_behaviour'

when SYS_DCACHE_OFF is enable, mmu_set_region_dcache_behaviour() must be
defined.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/lib/cache-cp15.c