summaryrefslogtreecommitdiff
path: root/board/kano/board.h
diff options
context:
space:
mode:
authorDavid Huang <david.huang@quanta.corp-partner.google.com>2021-08-16 17:58:40 +0800
committerCommit Bot <commit-bot@chromium.org>2021-08-23 04:32:27 +0000
commitb3d803095bb271f506c1eb00e45c66f7d99cb53e (patch)
treed2936b0351e3f9cacc88d4f77983911f09f51e9a /board/kano/board.h
parent745b4683e5e9dd9a26340906e68ae15ee775460c (diff)
downloadchrome-ec-b3d803095bb271f506c1eb00e45c66f7d99cb53e.tar.gz
kano: remove usb port C2 and board ID 1 related function
Remove usb port C2 and board ID 1 related function. BUG=b:192370253 BRANCH=brya TEST=make buildall -j succeeded. Signed-off-by: David Huang <david.huang@quanta.corp-partner.google.com> Change-Id: Ie051e44424bdf9e1de6d1b13afddea10ef85ff3e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3098121 Reviewed-by: caveh jalali <caveh@chromium.org>
Diffstat (limited to 'board/kano/board.h')
-rw-r--r--board/kano/board.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/board/kano/board.h b/board/kano/board.h
index 4322a7cea1..a95e96d099 100644
--- a/board/kano/board.h
+++ b/board/kano/board.h
@@ -77,7 +77,7 @@
#define CONFIG_IO_EXPANDER
#define CONFIG_IO_EXPANDER_NCT38XX
-#define CONFIG_IO_EXPANDER_PORT_COUNT 4
+#define CONFIG_IO_EXPANDER_PORT_COUNT 1
#define CONFIG_USB_PD_TCPM_PS8815
#define CONFIG_USBC_RETIMER_INTEL_BB
@@ -133,8 +133,6 @@
#define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL
#define GPIO_WP_L GPIO_EC_WP_ODL
-#define GPIO_ID_1_EC_KB_BL_EN GPIO_EC_BATT_PRES_ODL
-
/* System has back-lit keyboard */
#define CONFIG_PWM_KBLIGHT
@@ -167,7 +165,6 @@
* see b/174768555#comment22
*/
#define USBC_PORT_C0_BB_RETIMER_I2C_ADDR 0x56
-#define USBC_PORT_C2_BB_RETIMER_I2C_ADDR 0x57
/* Enabling Thunderbolt-compatible mode */
#define CONFIG_USB_PD_TBT_COMPAT_MODE
@@ -225,9 +222,6 @@ enum sensor_id {
enum ioex_port {
IOEX_C0_NCT38XX = 0,
- IOEX_C2_NCT38XX,
- IOEX_ID_1_C0_NCT38XX,
- IOEX_ID_1_C2_NCT38XX,
IOEX_PORT_COUNT
};