diff options
author | martin yan <martin.yan@microchip.corp-partner.google.com> | 2021-06-23 13:50:08 -0400 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-30 22:23:32 +0000 |
commit | 098bac5f91792203db9ccb731b5349064c14b468 (patch) | |
tree | 4ff55a49f87f8fadacfdbea18b2e4264dd27d7e9 /board/adlrvpp_mchp1521 | |
parent | 6c7b7fdd7ab2144968ec6db7a9122dae875211ad (diff) | |
download | chrome-ec-098bac5f91792203db9ccb731b5349064c14b468.tar.gz |
mchp: Move I2C_CONTROLLER_COUNT and I2C_PORT_COUNT to chip
Move I2C_CONTROLLER_COUNT and I2C_PORT_COUNT to registers-mec172x.h
and registers-mec152x.h from board.h, both are chip specific
BRANCH=none
BUG=none
TEST=Tested
adlrvpp_mchp1727 and sklrvp_mchp1723
adlrvpp_mchp1521 and sklrvp_mchp
Signed-off-by: martin yan <martin.yan@microchip.corp-partner.google.com>
Change-Id: Icd91e9877e0053c83c1a73d10470ffefedd90a01
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2982390
Reviewed-by: Vijay Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/adlrvpp_mchp1521')
-rw-r--r-- | board/adlrvpp_mchp1521/board.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/board/adlrvpp_mchp1521/board.h b/board/adlrvpp_mchp1521/board.h index b78f433dfd..1d3cb4828f 100644 --- a/board/adlrvpp_mchp1521/board.h +++ b/board/adlrvpp_mchp1521/board.h @@ -131,13 +131,6 @@ /* To do: Remove once fan register details are added in mchp/fan.c */ #undef CONFIG_FANS -/* - * MEC152x I2C controllers are multi-port. - * Each controller can use any of the 11 ports. - */ -#define I2C_CONTROLLER_COUNT 3 -#define I2C_PORT_COUNT 3 - /* Use internal silicon 32KHz oscillator */ #undef CONFIG_CLOCK_SRC_EXTERNAL |