summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Bao <fishbaozi@gmail.com>2023-03-15 16:15:13 +0800
committerMartin L Roth <gaumless@gmail.com>2023-03-16 14:58:49 +0000
commit3e7008df950ddae0c280e1459d0d5e020eca9028 (patch)
treee3886778d76836044675a711e3de1358ab547bd6
parent68af77ea7d1206a0244acbc5dd30fc72264cf6d0 (diff)
amdfwtool: Print which combo entry is being processed
Change-Id: I9e83a3ac56d5c42d8d6839cc4d961adf0b656fb5 Signed-off-by: Zheng Bao <fishbaozi@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73725 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com>
-rw-r--r--util/amdfwtool/amdfwtool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index 5546a69291..9312be670c 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -2670,6 +2670,9 @@ int main(int argc, char **argv)
combo_config[0] = config;
do {
+ if (cb_config.use_combo && debug)
+ printf("Processing %dth combo entry\n", combo_index);
+
/* for non-combo image, combo_config[0] == config, and
* it already is processed. Actually "combo_index >
* 0" is enough. Put both of them here to make sure