mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
c72628b8e7fa539da5a8ba249a138d57ec1aa160
I2C Block reads were split into two i2c_xfer() calls. However, i2c_xfer() implementation for MEC does not maintain state in between calls. This was causing block read failures because the settings for the Control Register got corrupted. Fix this by calling i2c_xfer() only once. This retrieves both string size and string. Only return the string back to the user. BUG=None TEST=Tested on Braswell Ref Design BRANCH=None Change-Id: Ife8fcb66425c6198d0dcf10f74e89c001ccac49a Signed-off-by: Shamile Khan <shamile.khan@intel.com> Signed-off-by: Divya Jyothi <divya.jyothi@intel.com> Reviewed-on: https://chromium-review.googlesource.com/260627 Reviewed-by: Randall Spangler <rspangler@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%