summaryrefslogtreecommitdiffstats
path: root/include/configs/tegra-common.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-13 23:42:13 -0600
committerSimon Glass <sjg@chromium.org>2014-10-22 10:36:52 -0600
commitfda6fac39bb915fdb0ff31b998336d3a5f5c71a9 (patch)
treec779b0c2eb4119e15531539adc7ea7ebc5334df8 /include/configs/tegra-common.h
parentd2f60f93325ac31f5f30ee94f15b87c89db46aec (diff)
downloadtalos-obmc-uboot-fda6fac39bb915fdb0ff31b998336d3a5f5c71a9.tar.gz
talos-obmc-uboot-fda6fac39bb915fdb0ff31b998336d3a5f5c71a9.zip
dm: tegra: spi: Convert to driver model
This converts the Tegra SPI drivers to use driver model. This is tested on: - Tegra20 - trimslice - Tegra30 - beaver - Tegra124 - dalmore (not tested on Tegra124) Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/tegra-common.h')
-rw-r--r--include/configs/tegra-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 834b3d5686..4719ee10ae 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -24,6 +24,8 @@
#ifndef CONFIG_SPL_BUILD
#define CONFIG_DM_SERIAL
#endif
+#define CONFIG_DM_SPI
+#define CONFIG_DM_SPI_FLASH
#define CONFIG_SYS_TIMER_RATE 1000000
#define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE
OpenPOWER on IntegriCloud