summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/it83xx_evb/board.h2
-rw-r--r--chip/it83xx/build.mk2
-rw-r--r--chip/it83xx/spi_master.c (renamed from chip/it83xx/spi.c)0
3 files changed, 2 insertions, 2 deletions
diff --git a/board/it83xx_evb/board.h b/board/it83xx_evb/board.h
index b018fb65c6..379362d4c5 100644
--- a/board/it83xx_evb/board.h
+++ b/board/it83xx_evb/board.h
@@ -28,7 +28,7 @@
#define CONFIG_POWER_BUTTON
#define CONFIG_PWM
/* Use CS0 of SSPI */
-#define CONFIG_SPI
+#define CONFIG_SPI_MASTER
#define CONFIG_SPI_FLASH_PORT 0
#define CONFIG_UART_HOST
#define CONFIG_HOSTCMD_LPC
diff --git a/chip/it83xx/build.mk b/chip/it83xx/build.mk
index 2d664669f7..365a993113 100644
--- a/chip/it83xx/build.mk
+++ b/chip/it83xx/build.mk
@@ -21,7 +21,7 @@ chip-$(CONFIG_PWM)+=pwm.o
chip-$(CONFIG_ADC)+=adc.o
chip-$(CONFIG_HOSTCMD_X86)+=lpc.o ec2i.o
chip-$(CONFIG_HOSTCMD_ESPI)+=espi.o
-chip-$(CONFIG_SPI)+=spi.o
+chip-$(CONFIG_SPI_MASTER)+=spi_master.o
chip-$(CONFIG_PECI)+=peci.o
chip-$(HAS_TASK_KEYSCAN)+=keyboard_raw.o
chip-$(CONFIG_I2C)+=i2c.o
diff --git a/chip/it83xx/spi.c b/chip/it83xx/spi_master.c
index 1337f7ccac..1337f7ccac 100644
--- a/chip/it83xx/spi.c
+++ b/chip/it83xx/spi_master.c