diff options
author | Vijay Hiremath <vijay.p.hiremath@intel.com> | 2021-06-22 11:45:31 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-30 23:08:35 +0000 |
commit | 8ba01c565e1db7edc4338b01f3c3f07a3eea6fdc (patch) | |
tree | 8c836f4216b0c8859e6f59063ababbb7c8594fd2 /board | |
parent | 098bac5f91792203db9ccb731b5349064c14b468 (diff) | |
download | chrome-ec-8ba01c565e1db7edc4338b01f3c3f07a3eea6fdc.tar.gz |
mchp: Correct assigning I2C controller to a port
Corrected default assignment of controller to I2C port based on the
number of I2C ports being used rather than the port in use. This avoids
overlapping of I2C controller assignment when the I2C ports used are
not greater than MCHP_I2C_CTRL_MAX.
BUG=none
BRANCH=none
TEST=Tested on ADLRVP, default I2C controller assignment is correct.
Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Change-Id: I875b0f7e94162f923325e9ed07e7549cc760fdf8
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2980432
Reviewed-by: Martin Yan <martin.yan@microchip.corp-partner.google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions