From 098bac5f91792203db9ccb731b5349064c14b468 Mon Sep 17 00:00:00 2001 From: martin yan Date: Wed, 23 Jun 2021 13:50:08 -0400 Subject: 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 Change-Id: Icd91e9877e0053c83c1a73d10470ffefedd90a01 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2982390 Reviewed-by: Vijay Hiremath Reviewed-by: Aseda Aboagye Commit-Queue: Aseda Aboagye --- board/adlrvpp_mchp1521/board.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'board/adlrvpp_mchp1521') 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 -- cgit v1.2.1