mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-18 06:58:54 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue