diff options
author | Tom Rini <trini@konsulko.com> | 2019-08-26 17:45:20 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-08-26 17:45:20 -0400 |
commit | 12277acda0802e4517ca82842c71aae723f0da16 (patch) | |
tree | 34a610694fdcee8f19f81337f6658a84210262ee /cmd/pci.c | |
parent | 7a4b0bc5fe70225ae3595ba81d1473c06fd6b83b (diff) | |
parent | 44de15d6867c246e7a09ef061d3de56e1799a606 (diff) |
Merge branch '2019-08-26-master-imports'
- Assorted minor bugfixes
Diffstat (limited to 'cmd/pci.c')
-rw-r--r-- | cmd/pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/pci.c b/cmd/pci.c index 2c5ee2a19d8..0043471fc73 100644 --- a/cmd/pci.c +++ b/cmd/pci.c @@ -148,7 +148,7 @@ int pci_bar_show(struct udevice *dev) if ((!is_64 && size_low) || (is_64 && size)) { size = ~size + 1; - printf(" %d %#016llx %#016llx %d %s %s\n", + printf(" %d %#018llx %#018llx %d %s %s\n", bar_id, (unsigned long long)base, (unsigned long long)size, is_64 ? 64 : 32, is_io ? "I/O" : "MEM", @@ -629,10 +629,10 @@ static void pci_show_regions(struct udevice *bus) return; } - printf("# %-16s %-16s %-16s %s\n", "Bus start", "Phys start", "Size", + printf("# %-18s %-18s %-18s %s\n", "Bus start", "Phys start", "Size", "Flags"); for (i = 0, reg = hose->regions; i < hose->region_count; i++, reg++) { - printf("%d %#016llx %#016llx %#016llx ", i, + printf("%d %#018llx %#018llx %#018llx ", i, (unsigned long long)reg->bus_start, (unsigned long long)reg->phys_start, (unsigned long long)reg->size); |