mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 04:14:34 +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 */
|
isb(); /* subsequent instructions fetch see cache disable effect */
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
void invalidate_icache_all(void)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
void icache_enable(void)
|
void icache_enable(void)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue