1 # SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y
+= bootblock.c
4 bootblock-y
+= early_gpio.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
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
19 show_notices
:: warn_no_apcb
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
28 show_notices
:: warn_no_mchp
29 endif # CONFIG_BIRMAN_HAVE_MCHP_FW
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"