summaryrefslogtreecommitdiff
path: root/board/elm/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/elm/board.h')
-rw-r--r--board/elm/board.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/elm/board.h b/board/elm/board.h
index 319241642c..8bb8c2bf15 100644
--- a/board/elm/board.h
+++ b/board/elm/board.h
@@ -16,6 +16,7 @@
/* Free up flash space */
#undef CONFIG_USB_PD_TCPMV1_DEBUG
+#define CONFIG_LTO
/* Accelero meter and gyro sensor */
#define CONFIG_ACCEL_KX022
@@ -170,7 +171,7 @@
#define I2C_PORT_TCPC 1
/* Enable Accel over SPI */
-#define CONFIG_SPI_ACCEL_PORT 0 /* First SPI master port (SPI2) */
+#define CONFIG_SPI_ACCEL_PORT 0 /* First SPI controller port (SPI2) */
/* Timer selection */
#define TIM_CLOCK32 2