summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/it8xxx2_evb/build.mk2
-rw-r--r--board/it8xxx2_pdevb/board.c11
-rw-r--r--board/it8xxx2_pdevb/board.h4
-rw-r--r--board/it8xxx2_pdevb/build.mk2
-rw-r--r--board/it8xxx2_pdevb/ec.tasklist3
5 files changed, 7 insertions, 15 deletions
diff --git a/board/it8xxx2_evb/build.mk b/board/it8xxx2_evb/build.mk
index 2e5c1df6e0..b54a2fcbb6 100644
--- a/board/it8xxx2_evb/build.mk
+++ b/board/it8xxx2_evb/build.mk
@@ -8,7 +8,7 @@
# the IC is ITE IT8xxx2
CHIP:=it83xx
CHIP_FAMILY:=it8xxx2
-CHIP_VARIANT:=it83202bx
+CHIP_VARIANT:=it81202ax_1024
BASEBOARD:=ite_evb
board-y=board.o
diff --git a/board/it8xxx2_pdevb/board.c b/board/it8xxx2_pdevb/board.c
index 015a0e6d89..22f204258b 100644
--- a/board/it8xxx2_pdevb/board.c
+++ b/board/it8xxx2_pdevb/board.c
@@ -35,21 +35,14 @@ enum battery_present battery_is_present(void)
const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
[USB_PD_PORT_ITE_0] = {
.bus_type = EC_BUS_TYPE_EMBEDDED,
- /* TCPC is embedded within EC so no i2c config needed */
+ /* TCPC is embedded within EC so needn't i2c config */
.drv = &it83xx_tcpm_drv,
/* Alert is active-low, push-pull */
.flags = 0,
},
[USB_PD_PORT_ITE_1] = {
.bus_type = EC_BUS_TYPE_EMBEDDED,
- /* TCPC is embedded within EC so no i2c config needed */
- .drv = &it83xx_tcpm_drv,
- /* Alert is active-low, push-pull */
- .flags = 0,
- },
- [USB_PD_PORT_ITE_2] = {
- .bus_type = EC_BUS_TYPE_EMBEDDED,
- /* TCPC is embedded within EC so no i2c config needed */
+ /* TCPC is embedded within EC so needn't i2c config */
.drv = &it83xx_tcpm_drv,
/* Alert is active-low, push-pull */
.flags = 0,
diff --git a/board/it8xxx2_pdevb/board.h b/board/it8xxx2_pdevb/board.h
index 491691cc44..7c40a1ffc7 100644
--- a/board/it8xxx2_pdevb/board.h
+++ b/board/it8xxx2_pdevb/board.h
@@ -42,8 +42,8 @@
#define CONFIG_USB_PD_CHECK_MAX_REQUEST_ALLOWED
#define CONFIG_USB_PD_CUSTOM_PDO
#define CONFIG_USB_PD_DUAL_ROLE
-#define CONFIG_USB_PD_PORT_MAX_COUNT 3
-#define CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT 3
+#define CONFIG_USB_PD_PORT_MAX_COUNT 2
+#define CONFIG_USB_PD_ITE_ACTIVE_PORT_COUNT 2
#define CONFIG_USB_PD_TCPMV2
#define CONFIG_USB_DRP_ACC_TRYSRC
#define CONFIG_USB_PD_REV30
diff --git a/board/it8xxx2_pdevb/build.mk b/board/it8xxx2_pdevb/build.mk
index 2e5c1df6e0..b54a2fcbb6 100644
--- a/board/it8xxx2_pdevb/build.mk
+++ b/board/it8xxx2_pdevb/build.mk
@@ -8,7 +8,7 @@
# the IC is ITE IT8xxx2
CHIP:=it83xx
CHIP_FAMILY:=it8xxx2
-CHIP_VARIANT:=it83202bx
+CHIP_VARIANT:=it81202ax_1024
BASEBOARD:=ite_evb
board-y=board.o
diff --git a/board/it8xxx2_pdevb/ec.tasklist b/board/it8xxx2_pdevb/ec.tasklist
index dd5aa10544..41fc733526 100644
--- a/board/it8xxx2_pdevb/ec.tasklist
+++ b/board/it8xxx2_pdevb/ec.tasklist
@@ -10,5 +10,4 @@
TASK_ALWAYS(HOOKS, hook_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(CONSOLE, console_task, NULL, LARGER_TASK_STACK_SIZE) \
TASK_ALWAYS(PD_C0, pd_task, NULL, VENTI_TASK_STACK_SIZE) \
- TASK_ALWAYS(PD_C1, pd_task, NULL, VENTI_TASK_STACK_SIZE) \
- TASK_ALWAYS(PD_C2, pd_task, NULL, VENTI_TASK_STACK_SIZE)
+ TASK_ALWAYS(PD_C1, pd_task, NULL, VENTI_TASK_STACK_SIZE)