mb/google/nissa/var/rull: add ssd timing and modify ssd GPIO pins of rtd3
[coreboot2.git] / src / mainboard / amd / mayan / Makefile.mk
blob6315fc27e3bf41e73117b9c1b413be4941052687
1 # SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y += bootblock.c
4 bootblock-y += early_gpio.c
5 bootblock-y += ec.c
7 romstage-y += port_descriptors.c
9 ramstage-y += chromeos.c
10 ramstage-y += gpio.c
11 ramstage-y += port_descriptors.c
13 ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_Updatable.bin),)
14 APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_Updatable.bin
15 APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_DefaultRecovery.bin
16 else
17 show_notices:: warn_no_apcb
18 endif
20 ifeq ($(CONFIG_MAYAN_HAVE_MCHP_FW),y)
21 $(call add_intermediate, add_mchp_fw)
22 $(CBFSTOOL) $(obj)/coreboot.pre write -r EC -f $(CONFIG_MAYAN_MCHP_SIG_FILE) --fill-upward
24 cbfs-files-y += ec/ecfw
25 ec/ecfw-file := $(CONFIG_MAYAN_MCHP_FW_FILE)
26 ec/ecfw-position := $(CONFIG_MAYAN_MCHP_FW_OFFSET)
27 ec/ecfw-type := raw
29 else
30 show_notices:: warn_no_mchp
31 endif # CONFIG_MAYAN_HAVE_MCHP_FW
33 PHONY+=warn_no_mchp
34 warn_no_mchp:
35 printf "\n\t** WARNING **\n"
36 printf "coreboot has been built without the EC FW.\n"
37 printf "Do not flash this image. Your Mayan's power button\n"
38 printf "will not respond when you press it.\n\n"