]> git.baikalelectronics.ru Git - uboot.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)
commitf1da114a899fe984461d2ef0e988249f4ace98c1
treeced410a99328c6e0c01e0fe0b9833835881db6fd
parent58e41843fd6b377a614bc45ac9d83eccfcdaf68e
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