util/inteltool: set amb registers dumping error print to stdout

Set the "Error: Dumping AMBs on this MCH is not (yet) supported."
message to stdout. All other "dumping ... not (yet) supported"
errors use stdout, which makes them usable with pagers like less.

The current behavior prints the AMB dumping error in stderr,
which breaks pagers. This change aims to fix this discrepancy.

Change-Id: I502e9f8d5c71953e844bdc7174b3c7bd2987d00f
Signed-off-by: Ivi Ballou <iviballou@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91419
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Ivi Ballou 2026-02-25 17:58:50 +02:00 committed by Matt DeVillier
commit 343f439801

View file

@ -431,7 +431,7 @@ int print_ambs(struct pci_dev *dev, struct pci_access *pacc)
break;
default:
fprintf(stderr, "Error: Dumping AMBs on this MCH is not (yet) supported.\n");
printf("Error: Dumping AMBs on this MCH is not (yet) supported.\n");
return 1;
}