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 <furquan@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47832
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Furquan Shaikh 2020-11-20 22:26:38 -08:00 committed by Patrick Georgi
parent 121d2de18d
commit 6c8ba9b9ae
1 changed files with 1 additions and 0 deletions

View File

@ -170,6 +170,7 @@ $(CONFIG_AGESA_CBFS_NAME)-align := 4096
else else
$(CONFIG_AGESA_CBFS_NAME)-type := raw $(CONFIG_AGESA_CBFS_NAME)-type := raw
$(CONFIG_AGESA_CBFS_NAME)-position := $(CONFIG_AGESA_BINARY_PI_LOCATION) $(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 # CONFIG_AGESA_BINARY_PI_AS_STAGE
endif # AGESA_BINARYPI_INPUT_FILE == "" endif # AGESA_BINARYPI_INPUT_FILE == ""