diff options
author | Namyoon Woo <namyoon@google.com> | 2020-04-07 15:39:11 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-09 00:01:20 +0000 |
commit | 9c87cc0a1a83c65939704fb933e737269cf6455d (patch) | |
tree | 3c2c9a5d8c689e4953b916876eace09819797779 /include | |
parent | dc33c3e091aadd13928109936242cf7f81db61f2 (diff) | |
download | chrome-ec-9c87cc0a1a83c65939704fb933e737269cf6455d.tar.gz |
Add a sw flag to indicate usb_i2c status
Cr50 used to read GPIO_EN_PP3300_INA_L value to detect if USB_I2C is
enabled. However it requires an external pullup. Instead, this patch
adds a sw flag to indicate USB_I2C status, so that it can keep
USB_I2C status regardless external HW factors.
BUG=b:152946978
TEST=ran flash_ec on waddledee, ampton, and dragonegg.
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Change-Id: Ie1a3a8c790e9643a3b49b6c519167ee3bdecc650
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2140535
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions