mb/amb/birman*/gpio: remove configuration for VDD_MEM_VID[0,1]
[coreboot2.git] / src / mainboard / google / skyrim / Makefile.mk
blob933341314e4fcb0c8fc54a4cfb64a665b47dc78e
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 bootblock-y += bootblock.c
5 romstage-y += port_descriptors.c
7 ramstage-y += mainboard.c
8 ramstage-y += ec.c
9 ramstage-y += port_descriptors.c
10 ramstage-$(CONFIG_CHROMEOS) += chromeos.c
12 verstage-$(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK) += verstage.c
14 all-y += spi_speeds.c
16 subdirs-y += variants/baseboard
17 subdirs-y += variants/$(VARIANT_DIR)
19 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/baseboard/include
20 CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include
22 APCB_NAME=data.apcb
23 APCB_PATH=$(src)/mainboard/$(MAINBOARDDIR)
25 ifneq ($(wildcard $(APCB_PATH)/$(APCB_NAME)),)
26 $(info APCB sources present.)
28 ifneq ($(wildcard $(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/memory/Makefile.mk),)
30 LIB_SPD_DEPS = $(SPD_SOURCES)
32 APCB_SOURCES = $(obj)/$(APCB_NAME).gen
34 $(obj)/$(APCB_NAME).gen: $(SPD_SOURCES) \
35 $(APCB_V3_EDIT_TOOL) \
36 $(APCB_PATH)/$(APCB_NAME)
37 $(APCB_V3_EDIT_TOOL) $(APCB_PATH)/$(APCB_NAME) \
38 $(obj)/$(APCB_NAME).gen \
39 --spd_sources $(SPD_SOURCES) \
40 --mem_type 'lp5'
41 else
42 $(info SPD sources not found. Skipping APCB.)
43 show_notices:: die_no_apcb
44 endif
45 else
46 $(info APCB sources not found. Skipping APCB.)
47 show_notices:: die_no_apcb
48 endif