summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2021-05-19 14:47:59 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-05-25 12:36:47 +0000
commit0d93ca48c070847f156720a9cb15f9d5429615f4 (patch)
treeedf339c6077bf5af17588cd05fc6818b2660e403 /src
parent448c9e19c5bdb4bbb52c10c6f4081e4d8492dc6b (diff)
cpu/intel/fit: Fix top swap fit
The set_ts_fit_ptr makefile target was never a dependency of another target and therefore not used. Change-Id: Ie6b20164fce0dc406a28b4c1b9f41a79c68c27d7 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54677 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/intel/fit/Makefile.inc11
1 files changed, 5 insertions, 6 deletions
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