summaryrefslogtreecommitdiff
path: root/util/amdfwtool/Makefile.mk
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2023-10-11 16:08:44 +0800
committerFelix Held <felix-coreboot@felixheld.de>2024-03-06 11:05:07 +0000
commite35c502a57aca65d1cb417dd1c999f69d16c1a7b (patch)
tree58e93f86a8865c605bbe75399a74eca3416d6462 /util/amdfwtool/Makefile.mk
parentfc3fcf2103fcdd3897a26ec19c029b516267b511 (diff)
amdfwtool: Move code related to getting options to a new file
Cleanup the messy code. The code left in main is all about filling tables. To help to do this, 1. Some local variables are put into global struct. 2. Add some functions. Set some functions to global. TEST=Identical test on all AMD platforms Change-Id: Ia25c3fd5de7ae48054359f0f6551d91d7a4f6828 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78311 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'util/amdfwtool/Makefile.mk')
-rw-r--r--util/amdfwtool/Makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/amdfwtool/Makefile.mk b/util/amdfwtool/Makefile.mk
index 8198fe3b6e..0b9cc1b644 100644
--- a/util/amdfwtool/Makefile.mk
+++ b/util/amdfwtool/Makefile.mk
@@ -2,7 +2,7 @@
ifneq ($(BUILD_ALL_TOOLS)$(CONFIG_USE_AMDFWTOOL),)
-amdfwtoolobj = amdfwtool.o data_parse.o signed_psp.o handle_file.o
+amdfwtoolobj = amdfwtool.o data_parse.o signed_psp.o handle_file.o opts.o
amdfwreadobj = amdfwread.o
amdfwheader = amdfwtool.h