mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
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: Giulio Benetti <giulio.benetti@benettiengineering.com>
This commit is contained in:
parent
1054344fa4
commit
e403316634
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue