]> git.baikalelectronics.ru Git - uboot.git/commit
arm: qemu: implement enable_caches()
authorArd Biesheuvel <ardb@kernel.org>
Tue, 7 Jul 2020 10:07:09 +0000 (12:07 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 12:43:40 +0000 (08:43 -0400)
commit8106234bf0e37a6df7d4b05a3c02173932fc855d
tree12b8df2ef23d554ac0f52518aa0799001ddf5e17
parent95b9034b313fe1b7893b5d825ff61acde96bcec5
arm: qemu: implement enable_caches()

Add an override for enable_caches to enable the I and D caches, along
with the cached 1:1 mapping of all of DRAM. This is needed for running
U-Boot under virtualization with QEMU/kvm.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
board/emulation/qemu-arm/qemu-arm.c