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>
This commit is contained in:
Matt DeVillier 2023-12-15 16:03:41 -06:00 committed by Felix Held
parent eb62c4ba40
commit 34de4d5c65
2 changed files with 5 additions and 4 deletions

View File

@ -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'

Binary file not shown.