diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:41:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:48 -0600 |
commit | 44ba6b0eccb37dd98becece22632bcc5e5cd2fbe (patch) | |
tree | f44659cc8988e72628d41f8c750a3998d819c964 /include/configs/s5pc210_universal.h | |
parent | a666f39e4edc2eb6296d7401aab2706d6ae7f459 (diff) | |
download | u-boot-imx-44ba6b0eccb37dd98becece22632bcc5e5cd2fbe.zip u-boot-imx-44ba6b0eccb37dd98becece22632bcc5e5cd2fbe.tar.gz u-boot-imx-44ba6b0eccb37dd98becece22632bcc5e5cd2fbe.tar.bz2 |
dm: spi: Remove SPI_INIT feature
This feature provides for init of a single SPI port for the soft SPI
feature. It is not really compatible with driver model since it assumes a
single SPI port. Also, inserting SPI init into the driver by means of
a #define is not very nice.
This feature is not used by any active boards, so let's remove it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include/configs/s5pc210_universal.h')
-rw-r--r-- | include/configs/s5pc210_universal.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h index 27f3d0a..4fa8d66 100644 --- a/include/configs/s5pc210_universal.h +++ b/include/configs/s5pc210_universal.h @@ -194,7 +194,6 @@ #define CONFIG_SOFT_SPI_GPIO_CS EXYNOS4_GPIO_Y43 #define SPI_DELAY udelay(1) -#undef SPI_INIT #define SPI_SCL(bit) universal_spi_scl(bit) #define SPI_SDA(bit) universal_spi_sda(bit) #define SPI_READ universal_spi_read() |