summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/pi/00730F01/Makefile.inc
diff options
context:
space:
mode:
authorKrystian Hebel <krystian.hebel@3mdeb.com>2019-04-23 19:28:16 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-11-26 11:53:47 +0000
commit0d2dbcab5f08329567c2acbf54bcb7bd9ad5a8f6 (patch)
treeb6c20c2541aabf47fe63b7101cd591c5801844c7 /src/northbridge/amd/pi/00730F01/Makefile.inc
parente1470ea6a3b83473b5fca54b93d3c12834660980 (diff)
amd/pi/00730F01: Add support without BINARYPI_LEGACY_WRAPPER
A stripped down version (without S3) of ../agesa/family*/state_machine.c is used to provide platform-specific hooks. TEST=boot PC Engines apu2 with POSTCAR_STAGE patch Change-Id: I700a7d8d3c77ee0525b2c764c720ab5bf39925f8 Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com> Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32421 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/amd/pi/00730F01/Makefile.inc')
-rw-r--r--src/northbridge/amd/pi/00730F01/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/northbridge/amd/pi/00730F01/Makefile.inc b/src/northbridge/amd/pi/00730F01/Makefile.inc
index 39c3ee61ba..94cf72e5ad 100644
--- a/src/northbridge/amd/pi/00730F01/Makefile.inc
+++ b/src/northbridge/amd/pi/00730F01/Makefile.inc
@@ -17,3 +17,8 @@ romstage-y += dimmSpd.c
ramstage-y += northbridge.c
ramstage-y += iommu.c
+
+ifneq ($(CONFIG_BINARYPI_LEGACY_WRAPPER), y)
+romstage-y += state_machine.c
+ramstage-y += state_machine.c
+endif