From 6c8ba9b9ae0a0eb04f6c7be3ba8185f49db13d00 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 20 Nov 2020 22:26:38 -0800 Subject: [PATCH] vc/amd/pi/00670F00: Add raw AGESA binary only to COREBOOT CBFS If AGESA is added as a raw binary (and not a stage), then cbfstool does not perform relocation. In this case, it should be added only to COREBOOT (i.e. default) CBFS since the binary needs to be present only in one specific location that is present in the default CBFS. Change-Id: I7a7edc217663f9d1d36b05308bbd35f56a28b9b1 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/c/coreboot/+/47832 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/vendorcode/amd/pi/00670F00/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vendorcode/amd/pi/00670F00/Makefile.inc b/src/vendorcode/amd/pi/00670F00/Makefile.inc index 46af6559bd..71898a3c54 100644 --- a/src/vendorcode/amd/pi/00670F00/Makefile.inc +++ b/src/vendorcode/amd/pi/00670F00/Makefile.inc @@ -170,6 +170,7 @@ $(CONFIG_AGESA_CBFS_NAME)-align := 4096 else $(CONFIG_AGESA_CBFS_NAME)-type := raw $(CONFIG_AGESA_CBFS_NAME)-position := $(CONFIG_AGESA_BINARY_PI_LOCATION) +regions-for-file-$(CONFIG_AGESA_CBFS_NAME) = COREBOOT endif # CONFIG_AGESA_BINARY_PI_AS_STAGE endif # AGESA_BINARYPI_INPUT_FILE == ""