summaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorOvidiu Panait <ovpanait@gmail.com>2020-03-29 20:57:41 +0300
committerTom Rini <trini@konsulko.com>2020-04-24 15:17:14 -0400
commit79926e4f2f3cf84c65188c59ea1e93d6b221d36b (patch)
treec9898d4ebcdc81c67b1ff92553cfb12fdc7317a6 /arch/arm/lib
parent6184858b859f6fcea4b23f76cfb7988882a3c8a7 (diff)
common/board_f: Make reserve_mmu generic
Introduce arch_reserve_mmu to allow for architecture-specific reserve_mmu routines. Also, define a weak nop stub for it. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 3cbed602eb..44dde26065 100644
--- a/arch/arm/lib/cache.c
+++ b/arch/arm/lib/cache.c
@@ -121,7 +121,7 @@ void invalidate_l2_cache(void)
}
#endif
-__weak int reserve_mmu(void)
+int arch_reserve_mmu(void)
{
return arm_reserve_mmu();
}