diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-06-29 17:29:07 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-07-03 23:30:50 +0000 |
commit | 5764cbbf91cf80c21f7e6b819526ebd074049551 (patch) | |
tree | a7f1b6c2d63b3883bf40c3f8a3830eeafaa82b00 /src/soc/intel/quark/Kconfig | |
parent | 12bed18951d8fce1985ed2c92aed05682ab24ec4 (diff) |
soc/intel/quark: Add I2C debugging
Add I2C debugging support:
* Add I2C_DEBUG Kconfig value to enable debugging
* Display I2C segments before the transfer
* Display errors that occur during the transfer
* Display the number of bytes transferred for successful transfers
TEST=Build and run on Galileo Gen2
Change-Id: Ia17be8b4213b13fd6c6a367d081414d0f21fbb0f
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/20422
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/soc/intel/quark/Kconfig')
-rw-r--r-- | src/soc/intel/quark/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/soc/intel/quark/Kconfig b/src/soc/intel/quark/Kconfig index bbb1927824..d1950a378a 100644 --- a/src/soc/intel/quark/Kconfig +++ b/src/soc/intel/quark/Kconfig @@ -316,4 +316,14 @@ config STORAGE_LOG default n depends on STORAGE_TEST +##### +# I2C debug support +##### + +config I2C_DEBUG + bool "Enable I2C debugging" + default n + help + Display the I2C segments and controller errors + endif # SOC_INTEL_QUARK |