diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2024-02-29 16:45:12 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-03-01 16:24:22 +0000 |
commit | 0ada3dafd0d20c2a5b361237d7e9aabf8ed96457 (patch) | |
tree | 43e328629d6b9cb2ba9e9bab1c1c23c10ad61fb2 /src/ec/acpi/ec.asl | |
parent | 5ad8a5fa47275cb7de5b096aa0273c83481c4aa6 (diff) |
acpi/acpigen_pci_root_resource_producer: zero-pad ranges
Print bus number, IO and MMIO ranges as fixed length zero-padded
hexadecimal numbers. The bus numbers are 1 byte long, the IO range
values are 2 bytes long and the MMIO range values can be up to 8 bytes
long, so use '%02x', '%04llx' and '%016llx' in the corresponding parts
of the format string.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Suggested-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Change-Id: Iea45094a3988d57f8640a98fd7214d33ed1d7ccb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80804
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Diffstat (limited to 'src/ec/acpi/ec.asl')
0 files changed, 0 insertions, 0 deletions