Commit 1b3d24b7 authored by Giulio Benetti's avatar Giulio Benetti Committed by Tom Rini
Browse files

armv7m: cache: add invalidate_icache_all() stub

This commit:
https://gitlab.denx.de/u-boot/u-boot/commit/d409c962169bd293e39386d0ddfa64d5222a3be4


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: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
parent 78b7aa45
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment