armv7m: cache: add invalidate_icache_all() stub
This commit:
d409c96216
causes build failure with ICACHE enabled. This is due to missing
invalidate_icache_all() stub. Let's add empty invalidate_icache_all() in
the case where ICACHE is not enabled.
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
This commit is contained in:
parent
78b7aa455a
commit
1b3d24b735
@ -332,6 +332,11 @@ void icache_disable(void)
|
||||
isb(); /* subsequent instructions fetch see cache disable effect */
|
||||
}
|
||||
#else
|
||||
void invalidate_icache_all(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void icache_enable(void)
|
||||
{
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user