summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-04 17:13:29 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-04 17:13:29 (GMT)
commitdd31be21bf8117df054f9ad072784bfc4df9e76f (patch)
tree39e0aa6d3f51070940ca599d67cec3a65fa3eceb /cmd
parent5cafcbab580bac6c7f44ca4a164c422b7e1ecf20 (diff)
parent99ed4a2e979150879fb70aea71898709536375d3 (diff)
downloadu-boot-dd31be21bf8117df054f9ad072784bfc4df9e76f.tar.xz
Merge git://git.denx.de/u-boot-fdt
Diffstat (limited to 'cmd')
-rw-r--r--cmd/pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/pci.c b/cmd/pci.c
index 41b4fff..fe27b4f 100644
--- a/cmd/pci.c
+++ b/cmd/pci.c
@@ -150,7 +150,8 @@ 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",
- bar_id, base, size, is_64 ? 64 : 32,
+ bar_id, (unsigned long long)base,
+ (unsigned long long)size, is_64 ? 64 : 32,
is_io ? "I/O" : "MEM",
prefetchable ? "Prefetchable" : "");
}