提交 e4033166 编写于 作者: G Giulio Benetti 提交者: Stefano Babic

armv7m: cache: add mmu_set_region_dcache_behaviour() stub for compatibility

Since some driver requires this function add it as an empty stub
when DCACHE is OFF.
Signed-off-by: NGiulio Benetti <giulio.benetti@benettiengineering.com>
上级 1054344f
......@@ -291,6 +291,12 @@ void flush_dcache_all(void)
void invalidate_dcache_all(void)
{
}
void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size,
enum dcache_option option)
{
}
#endif
#if !CONFIG_IS_ENABLED(SYS_ICACHE_OFF)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册