]> git.baikalelectronics.ru Git - uboot.git/commit
arm: asm/cache.c: Introduce arm_reserve_mmu
authorOvidiu Panait <ovpanait@gmail.com>
Sun, 29 Mar 2020 17:57:40 +0000 (20:57 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 19:17:14 +0000 (15:17 -0400)
commit41df0efa7a6be244950533151640b47b38f1bb15
tree011ee92b2d1c7bdea474824ef1c7d838717c421b
parentf7de7d5b6cf97ff374f18f3068e4b83599611f04
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: Ovidiu Panait <ovpanait@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/cache.h
arch/arm/lib/cache.c
arch/arm/mach-versal/cpu.c
arch/arm/mach-zynqmp/cpu.c