diff options
author | Mike Baiocchi <baiocchi@us.ibm.com> | 2014-08-26 00:08:39 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-10-28 03:20:29 -0500 |
commit | b08e186c26f57cdbf396af57f84002018c0c3350 (patch) | |
tree | cb46f059e165d0f2eb0de3ce152f78c5f1dd85a5 /src/usr/hwas | |
parent | f3f4aa436ae1c0aac413f6cde928f77f1a156600 (diff) | |
download | talos-hostboot-b08e186c26f57cdbf396af57f84002018c0c3350.tar.gz talos-hostboot-b08e186c26f57cdbf396af57f84002018c0c3350.zip |
Enable FSI-based I2C Device Driver Support
This commit adds FSI I2C Device Driver read and write support. The
majority of interfaces are common, with the main difference being the
registers that are being used. The FSI Device Driver also had to
be udpated to support non-4-byte reads and writes.
Change-Id: Ife3cfaedc6f23a161192710d1e9f1e74a942d399
RTC: 109926
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13300
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: ANIRUDH BAGEPALLI <abagepa@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas')
-rw-r--r-- | src/usr/hwas/hwasPlat.C | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/hwas/hwasPlat.C b/src/usr/hwas/hwasPlat.C index 689ba54f0..8523d63a3 100644 --- a/src/usr/hwas/hwasPlat.C +++ b/src/usr/hwas/hwasPlat.C @@ -97,6 +97,9 @@ errlHndl_t platReadIDEC(const TargetHandle_t &i_target) } else { + // FSI only reads 4 bytes for id_ec + op_size = sizeof(uint32_t); + errl = DeviceFW::deviceRead(i_target, &id_ec, op_size, DEVICE_FSI_ADDRESS(0x01028)); } |