diff --git a/src/cpu/intel/fit/Makefile.inc b/src/cpu/intel/fit/Makefile.inc index ce71952e4d..b4926ba2ff 100644 --- a/src/cpu/intel/fit/Makefile.inc +++ b/src/cpu/intel/fit/Makefile.inc @@ -28,7 +28,11 @@ $(call add_intermediate, add_mcu_fit, set_fit_ptr) # Second FIT in TOP_SWAP bootblock ifeq ($(CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK),y) -$(call add_intermediate, add_ts_mcu_fit, $(IFITTOOL) set_fit_ptr_ts) +$(call add_intermediate, set_ts_fit_ptr, $(IFITTOOL)) + @printf " UPDATE-FIT Top Swap: set FIT pointer to table\n" + $(IFITTOOL) -f $< -F -n intel_fit_ts -r COREBOOT $(TS_OPTIONS) + +$(call add_intermediate, add_ts_mcu_fit, set_ts_fit_ptr) @printf " UPDATE-FIT Top Swap: Microcode\n" ifneq ($(FIT_ENTRY),) $(IFITTOOL) -f $< -A -n $(FIT_ENTRY) -t 1 -s $(CONFIG_CPU_INTEL_NUM_FIT_ENTRIES) $(TS_OPTIONS) -r COREBOOT @@ -40,11 +44,6 @@ intel_fit_ts-file := fit_table.c:struct intel_fit_ts-type := raw intel_fit_ts-align := 16 -PHONY += set_ts_fit_ptr -set_ts_fit_ptr: $(obj)/coreboot.pre $(IFITTOOL) - @printf " UPDATE-FIT Top Swap: set FIT pointer to table\n" - $(IFITTOOL) -f $< -F -n intel_fit_ts -r COREBOOT $(TS_OPTIONS) - endif # CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK endif # CONFIG_CPU_MICROCODE_CBFS_NONE