From 3e7008df950ddae0c280e1459d0d5e020eca9028 Mon Sep 17 00:00:00 2001 From: Zheng Bao Date: Wed, 15 Mar 2023 16:15:13 +0800 Subject: [PATCH] amdfwtool: Print which combo entry is being processed Change-Id: I9e83a3ac56d5c42d8d6839cc4d961adf0b656fb5 Signed-off-by: Zheng Bao Reviewed-on: https://review.coreboot.org/c/coreboot/+/73725 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- util/amdfwtool/amdfwtool.c | 3 +++ 1 file changed, 3 insertions(+) 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