aboutsummaryrefslogtreecommitdiff
path: root/platforms
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2014-11-14 00:50:34 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-11-14 12:29:33 +1100
commitd2a695ddb362b6f93e3fc4f8a8b509028c72825b (patch)
treea69cad49c1d5322f8436fbbafb5b9c843f025f69 /platforms
parent0ee497d3db5a48252fc3ac4c748de277c7c592a8 (diff)
downloadskiboot-d2a695ddb362b6f93e3fc4f8a8b509028c72825b.zip
skiboot-d2a695ddb362b6f93e3fc4f8a8b509028c72825b.tar.gz
skiboot-d2a695ddb362b6f93e3fc4f8a8b509028c72825b.tar.bz2
i2c: Provide FFDC data in the driver
Define SRCs of I2C component and interface with the existing skiboot 'errorlog' infrasturcute for commiting the logs. Add the i2c specific OPAL error codes to differentiate various types of errors during i2c operations. To ease debugging, dump the i2c register contents, 'master' and 'request' structure bits in case any error occured during transfer on the bus. Minor clean-ups as well. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'platforms')
0 files changed, 0 insertions, 0 deletions