soc/amd/common/block/acpimmio: Update acpimmio for psp_verstage
commit4883252912665f56c8e7801fe03a26594a1e9d5d
authorMartin Roth <martin@coreboot.org>
Sun, 7 Jun 2020 23:18:06 +0000 (7 17:18 -0600)
committerMartin Roth <martinroth@google.com>
Mon, 15 Jun 2020 22:10:16 +0000 (15 22:10 +0000)
tree5614fb9d2caecfdb74d7566d829ead28bfc0a742
parentbaba3e961072bfb7ffb4f0031ada27046a58d29e
soc/amd/common/block/acpimmio: Update acpimmio for psp_verstage

Because the PSP maps the MMIO addresses that are used to non-
deterministic addresses, the accesses need to be able to find
the address at runtime.

BUG=b:158124527
TEST=Build & boot with Trembyle

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I68305e0f31956c57bfdee42025bdfe938703e82d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42061
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/common/block/acpimmio/Makefile.inc
src/soc/amd/common/block/acpimmio/mmio_util_psp.c [new file with mode: 0644]
src/soc/amd/common/block/include/amdblocks/acpimmio.h