blob: d24026ae62d71a94a5512f7077b89cf7b4b80f84 [file] [log] [blame]
Patrick Rudolph5fffb5e2019-07-25 11:55:30 +02001ifeq ($(CONFIG_INTEL_TXT),y)
2
3cbfs-files-y += txt_bios_acm.bin
4txt_bios_acm.bin-file := $(CONFIG_INTEL_TXT_BIOSACM_FILE)
5txt_bios_acm.bin-type := raw
6txt_bios_acm.bin-align := $(CONFIG_INTEL_TXT_BIOSACM_ALIGNMENT)
7
8ifneq ($(CONFIG_INTEL_TXT_SINITACM_FILE),"")
9cbfs-files-y += txt_sinit_acm.bin
10txt_sinit_acm.bin-file := $(CONFIG_INTEL_TXT_SINITACM_FILE)
11txt_sinit_acm.bin-type := raw
12txt_sinit_acm.bin-align := 0x10
13txt_sinit_acm.bin-compression := lzma
14endif
15
16INTERMEDIATE+=add_acm_fit
17add_acm_fit: $(obj)/coreboot.pre $(IFITTOOL)
18 $(IFITTOOL) -r COREBOOT -a -n txt_bios_acm.bin -t 2 -s $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) -f $<
19
20endif