diff options
author | Thi Tran <thi@us.ibm.com> | 2011-10-05 13:52:52 -0500 |
---|---|---|
committer | Thi N. Tran <thi@us.ibm.com> | 2011-10-10 10:42:23 -0500 |
commit | 4de170997eee6244b2091bb8bf065ae2da1396d7 (patch) | |
tree | 99275148dda9cb03afe005b86ec42746ded135a4 /src/include/usr/devicefw | |
parent | 9de4a404823c4315d90992d5d08a7fe1794a74c3 (diff) | |
download | talos-hostboot-4de170997eee6244b2091bb8bf065ae2da1396d7.tar.gz talos-hostboot-4de170997eee6244b2091bb8bf065ae2da1396d7.zip |
Added putScomUnderMask/get/put/modifyCfamRegister interfaces
Updated with review comments from set 1
Updated with review comments from set 3
Change-Id: Iaea4c37fe130cb04e99ebdea872ff4c690156f4d
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/424
Tested-by: Jenkins Server
Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw')
-rw-r--r-- | src/include/usr/devicefw/driverif.H | 7 | ||||
-rw-r--r-- | src/include/usr/devicefw/userif.H | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/include/usr/devicefw/driverif.H b/src/include/usr/devicefw/driverif.H index a7139db19..dd8cd8ae8 100644 --- a/src/include/usr/devicefw/driverif.H +++ b/src/include/usr/devicefw/driverif.H @@ -83,13 +83,6 @@ 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. * diff --git a/src/include/usr/devicefw/userif.H b/src/include/usr/devicefw/userif.H index adb46a418..0e9955898 100644 --- a/src/include/usr/devicefw/userif.H +++ b/src/include/usr/devicefw/userif.H @@ -62,6 +62,12 @@ namespace DeviceFW #define DEVICE_PRESENT_ADDRESS() \ DeviceFW::PRESENT + /** 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)) + /** * Construct a PNOR DD address * address = 0000_0000_0000_000c_aaaa_aaaa_aaaa_aaaa |