diff options
author | tim <tim2.lin@ite.corp-partner.google.com> | 2018-12-11 18:40:52 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-13 19:28:06 -0800 |
commit | 363e056db24c5ccb4ca80a83ab212281e02a0580 (patch) | |
tree | ee91323bf11783c91b971eef99737ca003ce4d22 | |
parent | 145f3271f7459f7a2fec6ba941f14c1ae00c14a6 (diff) | |
download | chrome-ec-363e056db24c5ccb4ca80a83ab212281e02a0580.tar.gz |
it83xx/spi: rename spi.c to spi_master.c
In it83xx chip, the file of spi.c is renamed
to spi_master.c, and the related config is
renamed too.
BUG=none
BRANCH=none
TEST=none
Change-Id: Ia696e62afa2ff06da68a3e4af685615b1dbcc8e9
Signed-off-by: tim <tim2.lin@ite.corp-partner.google.com>
Reviewed-on: https://chromium-review.googlesource.com/1372870
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Tim2 Lin <tim2.lin@ite.corp-partner.google.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/it83xx_evb/board.h | 2 | ||||
-rw-r--r-- | chip/it83xx/build.mk | 2 | ||||
-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 |