summaryrefslogtreecommitdiffstats
path: root/src/device/device_util.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2021-07-13 14:38:33 -0600
committerMartin Roth <martinroth@google.com>2021-07-14 20:24:12 +0000
commit679c37aa8de55ae28fc4ff13b2dd45d3905e0c0b (patch)
tree1bd22c76d9c05f8f9d3f898c7282a3ff95ac5ace /src/device/device_util.c
parent299558874c5c17a1294595bf3d2b6f0d0f7fcfc4 (diff)
downloadcoreboot-679c37aa8de55ae28fc4ff13b2dd45d3905e0c0b.tar.gz
coreboot-679c37aa8de55ae28fc4ff13b2dd45d3905e0c0b.tar.bz2
coreboot-679c37aa8de55ae28fc4ff13b2dd45d3905e0c0b.zip
src/device: Remove DEVICE_PATH_ESPI & DEVICE_PATH_LPC
The ESPI & LPC keywords were added for the zork program, but it was found that they weren't needed, so they were never used. The previous patch removes them from sconfig, so now they aren't needed in coreboot. BUG=None TEST=Build Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I9ae7817bb63d69ee272103b2d1186f125e188950 Reviewed-on: https://review.coreboot.org/c/coreboot/+/56278 Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device/device_util.c')
-rw-r--r--src/device/device_util.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 8ee8afce2712..9e7128734201 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;