coreboot-kgpe-d16/payloads/libpayload/arch/arm64
HC Yen 9dd2cf695d libpayload arm64: fix mmu_disable() cache problem
The raw_write_sctlr_current() cannot be used in mmu_disable() because
it pushes some registers to cached stack, and then just after cache
disabled, the value was gone.

BRANCH=none
BUG=none
TEST=build and boot on mt8173-evb

Change-Id: I512405b7917f27d16bdd3c51d9459827ad714e67
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: aafe64922cc4cd01ecb099db106d04538e3e57ff
Original-Change-Id: I0dda8518d14c46fae1fe76e3629bd4ee81c1e0ee
Original-Signed-off-by: HC Yen <hc.yen@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/240323
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8799
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-03-21 13:43:12 +01:00
..
lib libpayload arm64: Add helper functions with el argument 2015-03-21 13:43:03 +01:00
Config.in libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
Makefile.inc libpayload arm64: Add support for mmu 2015-03-21 13:38:41 +01:00
cache.c libpayload arm64: Add support for mmu 2015-03-21 13:38:41 +01:00
coreboot.c libpayload arm64: Remove dependency on coreboot tables for dma areas 2015-03-21 13:38:29 +01:00
cpu.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
dummy_media.c libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
exception.c libpayload arm64: Make exceptions work 2015-03-21 13:35:38 +01:00
exception_asm.S libpayload arm64: Remove tight-coupling with any particular EL 2015-03-21 13:35:47 +01:00
gdb.c libpayload arm64: Make exceptions work 2015-03-21 13:35:38 +01:00
head.S libpayload arm64: Initialize exception stack 2015-03-21 13:35:33 +01:00
libpayload.ldscript libpayload arm64: Initialize exception stack 2015-03-21 13:35:33 +01:00
main.c libpayload arm64: Move console_init after post_sysinfo_mmu_setup call 2015-03-21 13:40:04 +01:00
memcpy.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
memmove.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
memset.S libpayload arm64: Remove the DONT_USE_DC macro 2015-03-21 13:35:58 +01:00
mmu.c libpayload arm64: fix mmu_disable() cache problem 2015-03-21 13:43:12 +01:00
selfboot.c libpayload arm64: Add selfboot.c required by depthcharge 2015-01-09 07:07:53 +01:00
sysinfo.c libpayload arm64: Add functions for reading memranges 2015-03-21 13:36:04 +01:00
timer.c libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
util.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
virtual.c libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00