cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / amd / mandolin / Makefile.mk
blob15d69d525a085c8c553dcea8a0dcd05a64f6d063
1 # SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y += bootblock.c
4 bootblock-y += variants/$(VARIANT_DIR)/early_gpio.c
6 ramstage-y += variants/$(VARIANT_DIR)/gpio.c
7 ramstage-y += variants/$(VARIANT_DIR)/port_descriptors.c
9 ifneq ($(CONFIG_MANDOLIN_LPC),y)
10 ramstage-y += emmc_gpio.c
11 endif
13 ifeq ($(CONFIG_BOARD_AMD_MANDOLIN),y)
14 APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_mandolin.bin
15 else # CONFIG_BOARD_AMD_CEREME
16 APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_cereme.bin
17 endif
19 ifeq ($(CONFIG_MANDOLIN_HAVE_MCHP_FW),y)
21 $(call add_intermediate, add_mchp_fw)
22 $(CBFSTOOL) $< write -r EC -f $(CONFIG_MANDOLIN_MCHP_FW_FILE) --fill-upward
24 else
25 show_notices:: warn_no_mchp
26 endif # CONFIG_MANDOLIN_HAVE_MCHP_FW
28 PHONY+=warn_no_mchp
29 warn_no_mchp:
30 printf "\n\t** WARNING **\n"
31 printf "coreboot has been built without the Microchip EC.\n"
32 printf "Do not flash this image. Your Mandolin's power button\n"
33 printf "will not respond when you press it.\n\n"