summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-12-15 15:50:35 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-12-17 18:43:57 +0000
commit95d05d8301627312b2e5afd4ba6a10061bc11354 (patch)
treef4fc773ee9328610a129344e5e381a3cb3f2af32
parent17092b36462ed683ffd0df5ee51fb6f9efbeda8d (diff)
mb/google/zork: Add and use APCB configuration data
This file is identical to the copy currently found in the amd_blobs repository; it is simply being relocated since it is mainboard specific and does not need to be in an external repo. BUG=none TEST=build/boot morphius Change-Id: Ia78fcd065fbf4d5ba6ec4edc3f8f937badf66ecc Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79591 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/zork/data.apcbbin0 -> 4672 bytes
-rw-r--r--src/mainboard/google/zork/spd/Makefile.inc7
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/google/zork/data.apcb b/src/mainboard/google/zork/data.apcb
new file mode 100644
index 0000000000..f7a3e7817e
--- /dev/null
+++ b/src/mainboard/google/zork/data.apcb
Binary files differ
diff --git a/src/mainboard/google/zork/spd/Makefile.inc b/src/mainboard/google/zork/spd/Makefile.inc
index 4ae310ae84..3e6509d9ae 100644
--- a/src/mainboard/google/zork/spd/Makefile.inc
+++ b/src/mainboard/google/zork/spd/Makefile.inc
@@ -5,13 +5,14 @@ SPD_SOURCES_DIR=$(dir $(word 1, $(SPD_SOURCES)))
APCB_SOURCES=$(foreach f, $(basename $(notdir $(SPD_SOURCES))), $(obj)/APCB_$(f).gen)
# APCB binary with magic numbers to be replaced by apcb_edit tool
-APCB_MAGIC_BLOB:=$(FIRMWARE_LOCATION)/APCB_magic.bin
+APCB_NAME=data.apcb
+APCB_PATH=$(src)/mainboard/$(MAINBOARDDIR)
$(obj)/APCB_%.gen: $(SPD_SOURCES_DIR)%.hex \
$(APCB_EDIT_TOOL) \
- $(APCB_MAGIC_BLOB)
+ $(APCB_PATH)/$(APCB_NAME)
$(APCB_EDIT_TOOL) \
- $(APCB_MAGIC_BLOB) \
+ $(APCB_PATH)/$(APCB_NAME) \
$@ \
--hex \
--strip_manufacturer_information \