summaryrefslogtreecommitdiffstats
path: root/src/include/usr/devicefw/driverif.H
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2011-08-11 08:52:25 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2011-09-06 12:31:55 -0500
commit11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27 (patch)
treec26b58eee2d836827e2371d2f8a4ab2ff2299159 /src/include/usr/devicefw/driverif.H
parentf093b902e49a0ee46d232cd196ec48f88f801735 (diff)
downloadblackbird-hostboot-11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27.tar.gz
blackbird-hostboot-11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27.zip
Implementing FSI driver
-Initial work for FSI Device Driver (Story 3334) -Read/Write interface (Story 3550) Code is capable of basic read and write operations provided that the Simics models are updated Note: contains early work for FSI Initialization that should be ignored for now Change-Id: I08e795422de127b62c2d1629d7a4e0f12b21e348 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/287 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw/driverif.H')
-rw-r--r--src/include/usr/devicefw/driverif.H11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/include/usr/devicefw/driverif.H b/src/include/usr/devicefw/driverif.H
index 8ad52e898..82125c014 100644
--- a/src/include/usr/devicefw/driverif.H
+++ b/src/include/usr/devicefw/driverif.H
@@ -43,9 +43,10 @@ namespace DeviceFW
*/
enum AccessType_DriverOnly
{
- XSCOM = LAST_ACCESS_TYPE,
- FSISCOM,
+ XSCOM = LAST_ACCESS_TYPE,
+ FSI,
I2C,
+ FSISCOM,
LAST_DRIVER_ACCESS_TYPE
};
@@ -83,6 +84,12 @@ namespace DeviceFW
#define DEVICE_I2C_ADDRESS( i_address )\
DeviceFW::I2C, static_cast<uint64_t>(( i_address ))
+ /** Construct the device addressing parameters for FSI device ops.
+ * @param[in] i_address - FSI address to operate on.
+ */
+ #define DEVICE_FSI_ADDRESS(i_address) \
+ DeviceFW::FSI, static_cast<uint64_t>((i_address))
+
/** @class InvalidParameterType
* @brief Unused type to cause compiler fails for invalid template types.
OpenPOWER on IntegriCloud