summaryrefslogtreecommitdiff
path: root/board/nyan/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/nyan/board.h')
-rw-r--r--board/nyan/board.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/board/nyan/board.h b/board/nyan/board.h
index 6ea63a06dd..c43c664943 100644
--- a/board/nyan/board.h
+++ b/board/nyan/board.h
@@ -38,22 +38,10 @@ enum module_id {
/* Keyboard output port list */
#define KB_OUT_PORT_LIST GPIO_A, GPIO_B, GPIO_C
-/*
- * Charging.
- *
- * "HOST" means the port where the EC is the master, which has the battery,
- * charger and PMU.
- *
- * "SLAVE" means the port where the EC is the slave, which has the AP (host
- * processor).
- *
- * TODO: In this context, "host" is badly overloaded and confusing.
- */
-#define I2C_PORT_HOST 0
-#define I2C_PORT_BATTERY I2C_PORT_HOST
-#define I2C_PORT_CHARGER I2C_PORT_HOST
-#define I2C_PORT_SLAVE 1
-#define I2C_PORTS_USED 1
+/* Single I2C port, where the EC is the master. */
+#define I2C_PORT_MASTER 0
+#define I2C_PORT_BATTERY I2C_PORT_MASTER
+#define I2C_PORT_CHARGER I2C_PORT_MASTER
/* Timer selection */
#define TIM_CLOCK_MSB 3