mb/google/dedede: Switch to using auto-generated SPDs
This change switches dedede and family to using auto-generated SPDs obtained using gen_spd.go and gen_part_id.go. Change-Id: I6fadae0abcfb6e50d3cc502098ace9b668667a51 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41881 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b9adb11edf
commit
4612632edc
|
@ -12,11 +12,12 @@ ramstage-y += board_info.c
|
||||||
|
|
||||||
smm-y += smihandler.c
|
smm-y += smihandler.c
|
||||||
|
|
||||||
|
VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
|
||||||
|
|
||||||
subdirs-y += variants/baseboard
|
subdirs-y += variants/baseboard
|
||||||
|
subdirs-y += variants/$(VARIANT_DIR)
|
||||||
|
subdirs-y += variants/$(VARIANT_DIR)/memory
|
||||||
subdirs-y += spd
|
subdirs-y += spd
|
||||||
|
|
||||||
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
|
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
|
||||||
|
|
||||||
VARIANT_DIR:=$(call strip_quotes,$(CONFIG_VARIANT_DIR))
|
|
||||||
subdirs-y += variants/$(VARIANT_DIR)
|
|
||||||
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
|
CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
ifneq ($(SPD_SOURCES),)
|
ifneq ($(SPD_SOURCES),)
|
||||||
SPD_BIN = $(obj)/spd.bin
|
SPD_BIN = $(obj)/spd.bin
|
||||||
|
|
||||||
SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/spd/$(f).spd.hex)
|
SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/soc/intel/jasperlake/spd/lp4x/$(f))
|
||||||
|
|
||||||
# Include spd ROM data
|
# Include spd ROM data
|
||||||
$(SPD_BIN): $(SPD_DEPS)
|
$(SPD_BIN): $(SPD_DEPS)
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
## SPDX-License-Identifier: GPL-2.0-or-later
|
## SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
SPD_SOURCES = SPD_LPDDR4X_200b_8Gb_4267_DDP_1x16 #0b0000
|
|
||||||
SPD_SOURCES += SPD_LPDDR4X_200b_4Gb_3733_DDP_1x16 #0b0001
|
|
||||||
|
|
||||||
romstage-y += memory.c
|
romstage-y += memory.c
|
||||||
|
|
||||||
ramstage-y += variant.c
|
ramstage-y += variant.c
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
## SPDX-License-Identifier: GPL-2.0-or-later
|
## SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
SPD_SOURCES = empty #0b0000
|
|
||||||
SPD_SOURCES += SPD_LPDDR4X_200b_8Gb_4267_DDP_1x16 #0b0001
|
|
||||||
|
|
||||||
romstage-y += memory.c
|
romstage-y += memory.c
|
||||||
|
|
||||||
ramstage-y += variant.c
|
ramstage-y += variant.c
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
## SPDX-License-Identifier: GPL-2.0-or-later
|
|
||||||
|
|
||||||
SPD_SOURCES = Micron_MT53E512M32D2NP_2GB #0b0000
|
|
Loading…
Reference in New Issue