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:
parent
26006cc217
commit
343f439801
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue