2015-04-29 19:45:22 +02:00
|
|
|
ifeq ($(CONFIG_SOC_INTEL_COMMON),y)
|
2015-04-27 23:03:57 +02:00
|
|
|
|
2015-04-21 00:24:54 +02:00
|
|
|
romstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c
|
|
|
|
romstage-$(CONFIG_SOC_INTEL_COMMON_FSP_RAM_INIT) += raminit.c
|
|
|
|
romstage-$(CONFIG_SOC_INTEL_COMMON_RESET) += reset.c
|
|
|
|
romstage-$(CONFIG_SOC_INTEL_COMMON_FSP_ROMSTAGE) += romstage.c
|
|
|
|
romstage-$(CONFIG_SOC_INTEL_COMMON_STACK) += stack.c
|
|
|
|
romstage-$(CONFIG_SOC_INTEL_COMMON_STAGE_CACHE) += stage_cache.c
|
|
|
|
romstage-$(CONFIG_PLATFORM_USES_FSP1_1) += util.c
|
|
|
|
|
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_ramstage.c
|
2014-04-22 19:48:29 +02:00
|
|
|
ramstage-y += hda_verb.c
|
2014-04-22 19:46:06 +02:00
|
|
|
ramstage-$(CONFIG_CACHE_MRC_SETTINGS) += mrc_cache.c
|
2015-04-21 00:24:54 +02:00
|
|
|
ramstage-$(CONFIG_CACHE_MRC_SETTINGS) += nvm.c
|
2015-02-10 06:16:14 +01:00
|
|
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_RESET) += reset.c
|
2015-08-05 21:51:48 +02:00
|
|
|
ramstage-$(CONFIG_SOC_INTEL_COMMON_STAGE_CACHE) += stage_cache.c
|
2015-04-21 00:24:54 +02:00
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += util.c
|
|
|
|
ramstage-$(CONFIG_GOP_SUPPORT) += vbt.c
|
2015-04-27 23:03:57 +02:00
|
|
|
|
2015-08-28 20:28:35 +02:00
|
|
|
# Create and add the MRC cache to the cbfs image
|
|
|
|
ifneq ($(CONFIG_CHROMEOS),y)
|
|
|
|
$(obj)/mrc.cache: $(obj)/config.h
|
|
|
|
dd if=/dev/zero count=1 \
|
|
|
|
bs=$(shell printf "%d" $(CONFIG_MRC_SETTINGS_CACHE_SIZE) ) | \
|
|
|
|
tr '\000' '\377' > $@
|
|
|
|
|
|
|
|
cbfs-files-$(CONFIG_CACHE_MRC_SETTINGS) += mrc.cache
|
|
|
|
mrc.cache-file := $(obj)/mrc.cache
|
|
|
|
mrc.cache-position := $(CONFIG_MRC_SETTINGS_CACHE_BASE)
|
|
|
|
mrc.cache-type := mrc_cache
|
|
|
|
endif
|
|
|
|
|
2015-04-27 23:03:57 +02:00
|
|
|
endif
|