summaryrefslogtreecommitdiff
path: root/board/cr50/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/board.c')
-rw-r--r--board/cr50/board.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/board/cr50/board.c b/board/cr50/board.c
index 44e263d784..a5cea8af99 100644
--- a/board/cr50/board.c
+++ b/board/cr50/board.c
@@ -115,11 +115,6 @@ void ec_tx_cr50_rx(enum gpio_signal signal)
hook_call_deferred(&ec_uart_deferred__data, 0);
}
-int board_has_ap_usb(void)
-{
- return !!(board_properties & BOARD_USB_AP);
-}
-
int board_use_plt_rst(void)
{
return !!(board_properties & BOARD_USE_PLT_RESET);
@@ -204,18 +199,17 @@ const struct strap_desc strap_regs[] = {
"a12"},
};
-#define BOARD_PROPERTIES_DEFAULT (BOARD_SLAVE_CONFIG_I2C | BOARD_USE_PLT_RESET \
- | BOARD_USB_AP)
+#define BOARD_PROPERTIES_DEFAULT (BOARD_SLAVE_CONFIG_I2C | BOARD_USE_PLT_RESET)
static struct board_cfg board_cfg_table[] = {
/* SPI Variants: DIOA12 = 1M PD, DIOA6 = 1M PD */
/* Kevin/Gru: DI0A9 = 5k PD, DIOA1 = 1M PU */
{ 0x02, BOARD_SLAVE_CONFIG_SPI | BOARD_NEEDS_SYS_RST_PULL_UP },
/* Poppy: DI0A9 = 1M PU, DIOA1 = 1M PU */
- { 0x0A, BOARD_SLAVE_CONFIG_SPI | BOARD_USB_AP | BOARD_USE_PLT_RESET },
+ { 0x0A, BOARD_SLAVE_CONFIG_SPI | BOARD_USE_PLT_RESET },
/* I2C Variants: DIOA9 = 1M PD, DIOA1 = 1M PD */
/* Reef/Eve: DIOA12 = 5k PD, DIOA6 = 1M PU */
- { 0x20, BOARD_SLAVE_CONFIG_I2C | BOARD_USB_AP | BOARD_USE_PLT_RESET },
+ { 0x20, BOARD_SLAVE_CONFIG_I2C | BOARD_USE_PLT_RESET },
/* Rowan: DIOA12 = 5k PD, DIOA6 = 5k PU */
{ 0x30, BOARD_SLAVE_CONFIG_I2C },
};