summaryrefslogtreecommitdiff
path: root/src/include/device/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/path.h')
-rw-r--r--src/include/device/path.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/device/path.h b/src/include/device/path.h
index 6736bede69..964b4725fc 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -19,6 +19,8 @@ enum device_path_type {
DEVICE_PATH_SPI,
DEVICE_PATH_USB,
DEVICE_PATH_MMIO,
+ DEVICE_PATH_ESPI,
+ DEVICE_PATH_LPC,
/*
* When adding path types to this table, please also update the
@@ -42,6 +44,8 @@ enum device_path_type {
"DEVICE_PATH_SPI", \
"DEVICE_PATH_USB", \
"DEVICE_PATH_MMIO", \
+ "DEVICE_PATH_ESPI", \
+ "DEVICE_PATH_LPC", \
}
struct domain_path {
@@ -104,6 +108,14 @@ struct mmio_path {
uintptr_t addr;
};
+struct espi_path {
+ uintptr_t addr;
+};
+
+struct lpc_path {
+ uintptr_t addr;
+};
+
struct device_path {
enum device_path_type type;
union {
@@ -120,6 +132,8 @@ struct device_path {
struct spi_path spi;
struct usb_path usb;
struct mmio_path mmio;
+ struct espi_path espi;
+ struct lpc_path lpc;
};
};