summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/device_const.c6
-rw-r--r--src/device/device_util.c8
2 files changed, 0 insertions, 14 deletions
diff --git a/src/device/device_const.c b/src/device/device_const.c
index 7e7f2f1980..92bae37930 100644
--- a/src/device/device_const.c
+++ b/src/device/device_const.c
@@ -157,12 +157,6 @@ static int path_eq(const struct device_path *path1,
case DEVICE_PATH_MMIO:
equal = (path1->mmio.addr == path2->mmio.addr);
break;
- case DEVICE_PATH_ESPI:
- equal = (path1->espi.addr == path2->espi.addr);
- break;
- case DEVICE_PATH_LPC:
- equal = (path1->lpc.addr == path2->lpc.addr);
- break;
case DEVICE_PATH_GPIO:
equal = (path1->gpio.id == path2->gpio.id);
break;
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 8ee8afce27..9e71287342 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -218,14 +218,6 @@ 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;
case DEVICE_PATH_GPIO:
snprintf(buffer, sizeof(buffer), "GPIO: %d", dev->path.gpio.id);
break;