summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:01 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:49 -0600
commit73186c9460761315a5a5dfd352c631ab2a022f28 (patch)
tree4a583fdccc9388ac51962b3029f683585edf56a6 /include
parent623b638607aa00dad85cee36e229011c79b249ce (diff)
downloadu-boot-imx-73186c9460761315a5a5dfd352c631ab2a022f28.zip
u-boot-imx-73186c9460761315a5a5dfd352c631ab2a022f28.tar.gz
u-boot-imx-73186c9460761315a5a5dfd352c631ab2a022f28.tar.bz2
dm: exynos: Convert SPI to driver model
Move the exynos SPI driver over to driver model. This removes quite a bit of boilerplate from the driver, although it adds some for driver model. A few device tree additions are needed to make the SPI flash available. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/exynos-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h
index 34a162d..eb6745e 100644
--- a/include/configs/exynos-common.h
+++ b/include/configs/exynos-common.h
@@ -21,6 +21,7 @@
#define CONFIG_CMD_DM
#define CONFIG_DM_GPIO
#define CONFIG_DM_SERIAL
+#define CONFIG_DM_SPI
#define CONFIG_ARCH_CPU_INIT
#define CONFIG_DISPLAY_CPUINFO