summaryrefslogtreecommitdiffstats
path: root/src/include/usr/devicefw/userif.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/devicefw/userif.H')
-rw-r--r--src/include/usr/devicefw/userif.H13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H
index 0e2497e48..38cad8ea6 100644
--- a/src/include/usr/devicefw/userif.H
+++ b/src/include/usr/devicefw/userif.H
@@ -58,6 +58,8 @@ namespace DeviceFW
SCAN,
EEPROM,
GPIO,
+ LPC,
+
LAST_ACCESS_TYPE,
};
@@ -142,6 +144,17 @@ namespace DeviceFW
static_cast<uint64_t>(( i_flag ))
/**
+ * Construct the device addressing parameters for the LPC device ops.
+ * @param[in] i_trans_type - LPC transaction type.
+ * @param[in] i_address - LPC address to operate on.
+ * Flag options are located in: src/include/usr/lpc/lpcif.H
+ */
+ #define DEVICE_LPC_ADDRESS( i_trans_type, i_address )\
+ DeviceFW::LPC, static_cast<uint64_t>(( i_trans_type )),\
+ static_cast<uint64_t>(( i_address ))
+
+
+ /**
* Construct the device addressing parameters for the EEPROM device ops.
* @param[in] i_eeprom_enum - The chip number of the EEPROM to access. See
* eeprom_chip_types_t in eepromif.H
OpenPOWER on IntegriCloud