1# SPDX-License-Identifier: GPL-2.0-only 2 3bootblock-y += bootblock.c 4bootblock-y += early_gpio.c 5 6romstage-y += port_descriptors.c 7 8ramstage-y += chromeos.c 9ramstage-y += port_descriptors.c 10 11APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4.bin 12APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_CZN_D4_DefaultRecovery.bin 13 14ifeq ($(CONFIG_MAJOLICA_HAVE_MCHP_FW),y) 15$(call add_intermediate, add_mchp_fw) 16 $(CBFSTOOL) $< write -r EC -f $(CONFIG_MAJOLICA_MCHP_FW_FILE) --fill-upward 17else 18show_notices:: warn_no_mchp 19endif # CONFIG_MAJOLICA_HAVE_MCHP_FW 20 21PHONY+=warn_no_mchp 22warn_no_mchp: 23 printf "\n\t** WARNING **\n" 24 printf "coreboot has been built without the Microchip EC FW.\n" 25 printf "Do not flash this image. Your Majolica's power button\n" 26 printf "will not respond when you press it.\n\n" 27