Skip to content
Commit 6184858b authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

arm: asm/cache.c: Introduce arm_reserve_mmu



As a preparation for turning reserve_mmu into an arch-specific variant,
introduce arm_reserve_mmu on ARM. It implements the default routine for
reserving memory for MMU TLB and needs to be weakly defined in order to allow
for machines to override it.

Without this decoupling, after introducing arch_reserve_mmu, there would be two
weak definitions for it, one in common/board_f.c and one in
arch/arm/lib/cache.c.

Signed-off-by: default avatarOvidiu Panait <ovpanait@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 586b15bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment