summaryrefslogtreecommitdiff
path: root/board/cr50
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50')
-rw-r--r--board/cr50/board.h8
-rw-r--r--board/cr50/gpio.inc2
2 files changed, 5 insertions, 5 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h
index 6e139526b4..e91c228594 100644
--- a/board/cr50/board.h
+++ b/board/cr50/board.h
@@ -134,10 +134,10 @@
/* Need to be able to bitbang the EC UART for updates through CCD. */
#define CONFIG_UART_BITBANG
-/* Enable SPI Master (SPI) module */
-#define CONFIG_SPI_MASTER
-#define CONFIG_SPI_MASTER_NO_CS_GPIOS
-#define CONFIG_SPI_MASTER_CONFIGURE_GPIOS
+/* Enable SPI controller (SPI) module */
+#define CONFIG_SPI_CONTROLLER
+#define CONFIG_SPI_CONTROLLER_NO_CS_GPIOS
+#define CONFIG_SPI_CONTROLLER_CONFIGURE_GPIOS
#define CONFIG_SPI_FLASH_PORT 0
/* Enable SPI peripheral (SPP) module */
diff --git a/board/cr50/gpio.inc b/board/cr50/gpio.inc
index e8849797d2..6b8b563314 100644
--- a/board/cr50/gpio.inc
+++ b/board/cr50/gpio.inc
@@ -310,7 +310,7 @@ PINMUX(GPIO(DETECT_SERVO), B5, DIO_INPUT)
* DIOA12 = SPS_CS_L (input)
* The digital inputs are enabled in spp.c
*
- * If CONFIG_SPI_MASTER is defined, these pads are used:
+ * If CONFIG_SPI_CONTROLLER is defined, these pads are used:
* DIOA4 = SPI_MOSI (output)
* DIOA8 = SPI_CLK (output)
* DIOA11 = SPI_MISO (input)