src/*: Update makefiles to exclude x86 code from psp-verstage
commitcfc170b2133c9e6b385d218bdc5677da29275264
authorMartin Roth <martin@coreboot.org>
Thu, 4 Jun 2020 01:24:11 +0000 (3 19:24 -0600)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 23 Jun 2020 21:28:40 +0000 (23 21:28 +0000)
treededc2fd38d4057c7996d15a048dfe6d819dfdeed
parentf3343f2560e23d2eb1ce7d9fbb9eb75b9498825c
src/*: Update makefiles to exclude x86 code from psp-verstage

The assumption up to this point was that if the system had an x86
processor, verstage would be running on the x86 processor.  With running
verstage on the PSP, that assumption no longer holds true, so exclude
pieces of code that cause problems for verstage on the PSP.

This change will add these files to verstage only if the verstage
architecture is X86 - either 32 or 64 bit.

BUG=b:158124527
TEST=Build and boot on Trembyle

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I797b67394825172bd44ad1ee693a0c509289486b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42062
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Eric Peers <epeers@google.com>
Reviewed-by: Rob Barnes <robbarnes@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Makefile.inc
src/cpu/x86/lapic/Makefile.inc
src/cpu/x86/mtrr/Makefile.inc
src/cpu/x86/pae/Makefile.inc
src/cpu/x86/tsc/Makefile.inc
src/drivers/pc80/pc/Makefile.inc
src/soc/amd/common/block/acpi/Makefile.inc
src/soc/amd/common/block/alink/Makefile.inc
src/soc/amd/common/block/pci/Makefile.inc