From 95d05d8301627312b2e5afd4ba6a10061bc11354 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Fri, 15 Dec 2023 15:50:35 -0600 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79591 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/mainboard/google/zork/data.apcb | Bin 0 -> 4672 bytes src/mainboard/google/zork/spd/Makefile.inc | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 src/mainboard/google/zork/data.apcb (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/zork/data.apcb b/src/mainboard/google/zork/data.apcb new file mode 100644 index 0000000000..f7a3e7817e Binary files /dev/null and b/src/mainboard/google/zork/data.apcb 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 \ -- cgit v1.2.3