diff options
author | Martin Roth <martin@coreboot.org> | 2020-06-07 17:18:06 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2020-06-15 22:10:16 +0000 |
commit | 4883252912665f56c8e7801fe03a26594a1e9d5d (patch) | |
tree | 5614fb9d2caecfdb74d7566d829ead28bfc0a742 /src/soc/amd/common/block/acpimmio/Makefile.inc | |
parent | baba3e961072bfb7ffb4f0031ada27046a58d29e (diff) |
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>
Diffstat (limited to 'src/soc/amd/common/block/acpimmio/Makefile.inc')
-rw-r--r-- | src/soc/amd/common/block/acpimmio/Makefile.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/soc/amd/common/block/acpimmio/Makefile.inc b/src/soc/amd/common/block/acpimmio/Makefile.inc index 69253b9203..13864e4361 100644 --- a/src/soc/amd/common/block/acpimmio/Makefile.inc +++ b/src/soc/amd/common/block/acpimmio/Makefile.inc @@ -1,13 +1,17 @@ bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c -verstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c postcar-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += mmio_util.c bootblock-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c -verstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c romstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c postcar-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c ramstage-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c smm-$(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO) += biosram.c + +ifeq ($(CONFIG_SOC_AMD_COMMON_BLOCK_ACPIMMIO),y) +verstage-$(CONFIG_ARCH_VERSTAGE_X86_32) += biosram.c +verstage-$(CONFIG_ARCH_VERSTAGE_X86_32) += mmio_util.c +verstage-$(CONFIG_ARCH_VERSTAGE_ARM) += mmio_util_psp.c +endif |