summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/it83xx_evb/board.h4
-rw-r--r--board/reef_it8320/board.h6
-rw-r--r--chip/it83xx/config_chip.h3
3 files changed, 3 insertions, 10 deletions
diff --git a/board/it83xx_evb/board.h b/board/it83xx_evb/board.h
index ec809aa350..4c4b0123f3 100644
--- a/board/it83xx_evb/board.h
+++ b/board/it83xx_evb/board.h
@@ -22,9 +22,12 @@
#define CONFIG_KEYBOARD_PROTOCOL_8042
#define CONFIG_LOW_POWER_IDLE
#define CONFIG_LOW_POWER_S0
+#define CONFIG_PECI
#define CONFIG_PECI_TJMAX 100
#define CONFIG_POWER_BUTTON
+#define CONFIG_PWM
/* Use CS0 of SSPI */
+#define CONFIG_SPI
#define CONFIG_SPI_FLASH_PORT 0
#define CONFIG_UART_HOST
@@ -42,7 +45,6 @@
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USBC_VCONN
#define CONFIG_USBC_VCONN_SWAP
-#undef CONFIG_UART_HOST
#endif
/* Optional console commands */
diff --git a/board/reef_it8320/board.h b/board/reef_it8320/board.h
index 07660e57a9..d1af80fc6a 100644
--- a/board/reef_it8320/board.h
+++ b/board/reef_it8320/board.h
@@ -137,12 +137,6 @@
#define CONFIG_VSTORE
#define CONFIG_VSTORE_SLOT_COUNT 1
-/* modules we want to exclude */
-#undef CONFIG_PECI
-#undef CONFIG_PWM
-#undef CONFIG_SPI
-#undef CONFIG_UART_HOST
-
#undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 4096
#undef CONFIG_UART_RX_BUF_SIZE
diff --git a/chip/it83xx/config_chip.h b/chip/it83xx/config_chip.h
index 41509b3563..d410f4d744 100644
--- a/chip/it83xx/config_chip.h
+++ b/chip/it83xx/config_chip.h
@@ -104,9 +104,6 @@
#define CONFIG_ADC
#define CONFIG_EC2I
#define CONFIG_LPC
-#define CONFIG_PECI
-#define CONFIG_PWM
-#define CONFIG_SPI
#define CONFIG_SWITCH
/* Chip needs to do custom pre-init */