summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@amd.corp-partner.google.com>2023-12-15 16:03:41 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-12-17 18:44:40 +0000
commit34de4d5c6591975932ee986b0b0974239c7f4d9e (patch)
treed925ed2e3ee82d739d84a396ec7d67e6227e11bd
parenteb62c4ba40d199b80b16ab6e3171f054543fc718 (diff)
mb/google/skyrim: Add and use APCB configuration data
This file is identical to the copy currently found in the blobs repository; it is simply being relocated for consistency and since it does not need to be in an external repo. BUG=none TEST=build/boot skyrim Change-Id: I352f58e0d3965356f3282a2653c6c11b44853857 Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79593 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
-rw-r--r--src/mainboard/google/skyrim/Makefile.inc9
-rw-r--r--src/mainboard/google/skyrim/data.apcbbin0 -> 39204 bytes
2 files changed, 5 insertions, 4 deletions
diff --git a/src/mainboard/google/skyrim/Makefile.inc b/src/mainboard/google/skyrim/Makefile.inc
index e40101f71a..f4f9d68537 100644
--- a/src/mainboard/google/skyrim/Makefile.inc
+++ b/src/mainboard/google/skyrim/Makefile.inc
@@ -19,9 +19,10 @@ subdirs-y += variants/$(VARIANT_DIR)
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
-APCB_NAME=APCB_MDN_D5
+APCB_NAME=data.apcb
+APCB_PATH=$(src)/mainboard/$(MAINBOARDDIR)
-ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin),)
+ifneq ($(wildcard $(APCB_PATH)/$(APCB_NAME)),)
$(info APCB sources present.)
ifneq ($(wildcard $(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/memory/Makefile.inc),)
@@ -32,8 +33,8 @@ APCB_SOURCES = $(obj)/$(APCB_NAME).gen
$(obj)/$(APCB_NAME).gen: $(SPD_SOURCES) \
$(APCB_V3_EDIT_TOOL) \
- $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin
- $(APCB_V3_EDIT_TOOL) $(MAINBOARD_BLOBS_DIR)/$(APCB_NAME).bin \
+ $(APCB_PATH)/$(APCB_NAME)
+ $(APCB_V3_EDIT_TOOL) $(APCB_PATH)/$(APCB_NAME) \
$(obj)/$(APCB_NAME).gen \
--spd_sources $(SPD_SOURCES) \
--mem_type 'lp5'
diff --git a/src/mainboard/google/skyrim/data.apcb b/src/mainboard/google/skyrim/data.apcb
new file mode 100644
index 0000000000..2e58266705
--- /dev/null
+++ b/src/mainboard/google/skyrim/data.apcb
Binary files differ