summaryrefslogtreecommitdiff
path: root/src/device/device_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r--src/device/device_util.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 5aa53c1daf..88608597f2 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -215,6 +215,14 @@ const char *dev_path(const struct device *dev)
snprintf(buffer, sizeof(buffer), "MMIO: %08lx",
dev->path.mmio.addr);
break;
+ case DEVICE_PATH_ESPI:
+ snprintf(buffer, sizeof(buffer), "ESPI: %08lx",
+ dev->path.espi.addr);
+ break;
+ case DEVICE_PATH_LPC:
+ snprintf(buffer, sizeof(buffer), "LPC: %08lx",
+ dev->path.lpc.addr);
+ break;
default:
printk(BIOS_ERR, "Unknown device path type: %d\n",
dev->path.type);