diff options
-rw-r--r-- | board/hoho/board.c | 7 | ||||
-rw-r--r-- | board/hoho/board.h | 4 | ||||
-rw-r--r-- | board/hoho/gpio.inc | 3 |
3 files changed, 0 insertions, 14 deletions
diff --git a/board/hoho/board.c b/board/hoho/board.c index 56ad6af81e..d442d132a9 100644 --- a/board/hoho/board.c +++ b/board/hoho/board.c @@ -10,7 +10,6 @@ #include "ec_version.h" #include "gpio.h" #include "hooks.h" -#include "i2c.h" #include "registers.h" #include "task.h" #include "usb.h" @@ -154,12 +153,6 @@ const struct adc_t adc_channels[] = { }; BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT); -/* I2C ports */ -const struct i2c_port_t i2c_ports[] = { - {"master", I2C_PORT_MASTER, 400, GPIO_MCDP_I2C_SCL, GPIO_MCDP_I2C_SDA}, -}; -const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports); - const void * const usb_strings[] = { [USB_STR_DESC] = usb_string_desc, [USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."), diff --git a/board/hoho/board.h b/board/hoho/board.h index 614e61c66f..1345c4e1b7 100644 --- a/board/hoho/board.h +++ b/board/hoho/board.h @@ -20,7 +20,6 @@ #define CONFIG_BOARD_PRE_INIT #define CONFIG_CMD_SPI_FLASH #define CONFIG_HW_CRC -#define CONFIG_I2C #define CONFIG_RSA #define CONFIG_RWSIG #define CONFIG_SHA256 @@ -48,9 +47,6 @@ #undef CONFIG_LID_SWITCH #undef CONFIG_TASK_PROFILING -/* I2C ports configuration */ -#define I2C_PORT_MASTER 0 - /* USB configuration */ #define CONFIG_USB_PID 0x5010 #define CONFIG_USB_BCD_DEV 0x0001 /* v 0.01 */ diff --git a/board/hoho/gpio.inc b/board/hoho/gpio.inc index 0aad148307..faa26dba27 100644 --- a/board/hoho/gpio.inc +++ b/board/hoho/gpio.inc @@ -18,8 +18,6 @@ GPIO(MCDP_GPIO1, B, 0, GPIO_INPUT, NULL) GPIO(MCDP_CONFIG1, B, 1, GPIO_INPUT, NULL) GPIO(PD_MCDP_SPI_WP_L, B, 2, GPIO_OUT_LOW, NULL) GPIO(PD_CC1_TX_DATA, B, 4, GPIO_OUT_LOW, NULL) -GPIO(MCDP_I2C_SCL, B, 6, GPIO_INPUT, NULL) -GPIO(MCDP_I2C_SDA, B, 7, GPIO_INPUT, NULL) GPIO(PD_MCDP_SPI_CS_L, B, 12, GPIO_INPUT, NULL) /* Unimplemented signals which we need to emulate for now */ @@ -30,4 +28,3 @@ ALTERNATE(B, 0x0008, 0, MODULE_USB_PD, 0) /* SPI1: SCK(PB3) */ ALTERNATE(B, 0x0200, 2, MODULE_USB_PD, 0) /* TIM17_CH1: PB9 */ ALTERNATE(A, 0x0600, 1, MODULE_UART, GPIO_PULL_UP) /* USART1: PA9/PA10 */ ALTERNATE(B, 0x0C00, 4, MODULE_UART, GPIO_PULL_UP) /* USART3: PB10/PB11 */ -ALTERNATE(B, 0x00C0, 1, MODULE_I2C, 0) /* I2C1 MASTER:PB6/7 */ |