1 ## SPDX-License-Identifier: GPL-2.0-only
3 ramstage-
$(CONFIG_ELOG
) += elog.c
4 ramstage-
$(CONFIG_CHROMEOS_NVS
) += gnvs.c
5 ramstage-
$(CONFIG_HAVE_ACPI_TABLES
) += acpi.c
6 ramstage-
$(CONFIG_CHROMEOS_RAMOOPS
) += ramoops.c
7 ramstage-y
+= vpd_mac.c vpd_serialno.c vpd_calibration.c
8 ramstage-
$(CONFIG_CHROMEOS_DISABLE_PLATFORM_HIERARCHY_ON_RESUME
) += tpm2.c
9 ramstage-
$(CONFIG_HAVE_REGULATORY_DOMAIN
) += wrdd.c
10 ramstage-
$(CONFIG_USE_SAR
) += sar.c
11 ramstage-
$(CONFIG_TPM_GOOGLE
) += cr50_enable_update.c
12 ramstage-
$(CONFIG_TPM_GOOGLE
) += tpm_factory_config.c
14 romstage-
$(CONFIG_CHROMEOS_CSE_BOARD_RESET_OVERRIDE
) += cse_board_reset.c
15 ramstage-
$(CONFIG_CHROMEOS_CSE_BOARD_RESET_OVERRIDE
) += cse_board_reset.c
17 bootblock-y
+= watchdog.c
18 verstage-y
+= watchdog.c
19 romstage-y
+= watchdog.c
20 ramstage-y
+= watchdog.c
22 romstage-
$(CONFIG_CHROMEOS_DRAM_PART_NUMBER_IN_CBI
) += dram_part_num_override.c
23 ramstage-
$(CONFIG_CHROMEOS_FW_SPLASH_SCREEN
) += splash.c
25 # Add logo to the cbfs image
26 BMP_LOGO_COMPRESS_FLAG
:= $(CBFS_COMPRESS_FLAG
)
27 ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZMA
),y
)
28 BMP_LOGO_COMPRESS_FLAG
:= LZMA
29 else ifeq ($(CONFIG_BMP_LOGO_COMPRESS_LZ4
),y
)
30 BMP_LOGO_COMPRESS_FLAG
:= LZ4
33 cbfs-files-
$(CONFIG_CHROMEOS_FW_SPLASH_SCREEN
) += cb_logo.bmp
34 cb_logo.bmp-file
:= $(call strip_quotes
,$(CONFIG_CHROMEOS_LOGO_PATH
))
35 cb_logo.bmp-type
:= raw
36 cb_logo.bmp-compression
:= $(BMP_LOGO_COMPRESS_FLAG
)
38 cbfs-files-
$(CONFIG_CHROMEOS_FW_SPLASH_SCREEN
) += cb_plus_logo.bmp
39 cb_plus_logo.bmp-file
:= $(call strip_quotes
,$(CONFIG_CHROMEBOOK_PLUS_LOGO_PATH
))
40 cb_plus_logo.bmp-type
:= raw
41 cb_plus_logo.bmp-compression
:= $(BMP_LOGO_COMPRESS_FLAG
)