summaryrefslogtreecommitdiff
path: root/include/configs/s5pc210_universal.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:03 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:49 -0600
commit0043b1faa7f8a6b9a38ac949335cf3a5c3074459 (patch)
treed34420b4e28e1826ae342f272e09ef39a85acc7f /include/configs/s5pc210_universal.h
parent6126c8e88609286c04600da9dce7a7537f568845 (diff)
downloadu-boot-imx-0043b1faa7f8a6b9a38ac949335cf3a5c3074459.zip
u-boot-imx-0043b1faa7f8a6b9a38ac949335cf3a5c3074459.tar.gz
u-boot-imx-0043b1faa7f8a6b9a38ac949335cf3a5c3074459.tar.bz2
exynos: universal_c210: Move to driver model soft_spi
Adjust this board to use the driver model soft_spi implementation. 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.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/configs/s5pc210_universal.h b/include/configs/s5pc210_universal.h
index 4fa8d66..4b30d14 100644
--- a/include/configs/s5pc210_universal.h
+++ b/include/configs/s5pc210_universal.h
@@ -187,16 +187,7 @@
* SPI Settings
*/
#define CONFIG_SOFT_SPI
-#define CONFIG_SOFT_SPI_MODE SPI_MODE_3
-#define CONFIG_SOFT_SPI_GPIO_SCLK EXYNOS4_GPIO_Y31
-#define CONFIG_SOFT_SPI_GPIO_MOSI EXYNOS4_GPIO_Y33
-#define CONFIG_SOFT_SPI_GPIO_MISO EXYNOS4_GPIO_Y30
-#define CONFIG_SOFT_SPI_GPIO_CS EXYNOS4_GPIO_Y43
-
-#define SPI_DELAY udelay(1)
-#define SPI_SCL(bit) universal_spi_scl(bit)
-#define SPI_SDA(bit) universal_spi_sda(bit)
-#define SPI_READ universal_spi_read()
+
#ifndef __ASSEMBLY__
void universal_spi_scl(int bit);
void universal_spi_sda(int bit);