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
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
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
25 show_notices
:: warn_no_mchp
26 endif # CONFIG_MANDOLIN_HAVE_MCHP_FW
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"