summaryrefslogtreecommitdiff
path: root/util/showdevicetree/showdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/showdevicetree/showdt.c')
-rw-r--r--util/showdevicetree/showdt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/showdevicetree/showdt.c b/util/showdevicetree/showdt.c
index 120c5e3a89..4b476a8d7b 100644
--- a/util/showdevicetree/showdt.c
+++ b/util/showdevicetree/showdt.c
@@ -91,6 +91,9 @@ const char *dev_path(device_t dev)
case DEVICE_PATH_CPU_BUS:
sprintf(buffer, "CPU_BUS: %02x", dev->path.cpu_bus.id);
break;
+ case DEVICE_PATH_MMIO:
+ sprintf(buffer, "MMIO: %08x", dev->path.mmio.addr);
+ break;
default:
printf("Unknown device path type: %d\n",
dev->path.type);