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>
This commit is contained in:
Zheng Bao 2023-03-15 16:15:13 +08:00 committed by Martin L Roth
parent 68af77ea7d
commit 3e7008df95
1 changed files with 3 additions and 0 deletions

View File

@ -2670,6 +2670,9 @@ int main(int argc, char **argv)
combo_config[0] = config; combo_config[0] = config;
do { do {
if (cb_config.use_combo && debug)
printf("Processing %dth combo entry\n", combo_index);
/* for non-combo image, combo_config[0] == config, and /* for non-combo image, combo_config[0] == config, and
* it already is processed. Actually "combo_index > * it already is processed. Actually "combo_index >
* 0" is enough. Put both of them here to make sure * 0" is enough. Put both of them here to make sure