soc/intel: Remove blank lines before '}' and after '{'
[coreboot2.git] / src / mainboard / amd / birman / Makefile.mk
blob6c417ce54c039e3363d5128b934e79fb8e6bb544
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-$(CONFIG_BOARD_AMD_BIRMAN_PHOENIX_FSP) += port_descriptors_phoenix.c
8 romstage-$(CONFIG_BOARD_AMD_BIRMAN_GLINDA) += port_descriptors_glinda.c
10 ramstage-y += chromeos.c
11 ramstage-y += gpio.c
12 ramstage-$(CONFIG_BOARD_AMD_BIRMAN_PHOENIX_FSP) += port_descriptors_phoenix.c
13 ramstage-$(CONFIG_BOARD_AMD_BIRMAN_GLINDA) += port_descriptors_glinda.c
15 ifneq ($(wildcard $(MAINBOARD_BLOBS_DIR)/APCB_FP8_LPDDR5.bin),)
16 APCB_SOURCES = $(MAINBOARD_BLOBS_DIR)/APCB_FP8_LPDDR5.bin
17 APCB_SOURCES_RECOVERY = $(MAINBOARD_BLOBS_DIR)/APCB_FP8_LPDDR5_DefaultRecovery.bin
18 else
19 show_notices:: warn_no_apcb
20 endif
22 ifeq ($(CONFIG_BIRMAN_HAVE_MCHP_FW),y)
23 $(call add_intermediate, add_mchp_fw)
24 $(CBFSTOOL) $(obj)/coreboot.pre write -r EC_SIG -f $(CONFIG_BIRMAN_MCHP_SIG_FILE) --fill-upward
25 $(CBFSTOOL) $(obj)/coreboot.pre write -r EC_BODY -f $(CONFIG_BIRMAN_MCHP_FW_FILE) --fill-upward
27 else
28 show_notices:: warn_no_mchp
29 endif # CONFIG_BIRMAN_HAVE_MCHP_FW
31 PHONY+=warn_no_mchp
32 warn_no_mchp:
33 printf "\n\t** WARNING **\n"
34 printf "coreboot has been built without the EC FW.\n"
35 printf "Do not flash this image. Your Birman's power button\n"
36 printf "will not respond when you press it.\n\n"