diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-13 23:42:13 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-22 10:36:52 -0600 |
commit | fda6fac39bb915fdb0ff31b998336d3a5f5c71a9 (patch) | |
tree | c779b0c2eb4119e15531539adc7ea7ebc5334df8 /board/nvidia | |
parent | d2f60f93325ac31f5f30ee94f15b87c89db46aec (diff) | |
download | u-boot-fda6fac39bb915fdb0ff31b998336d3a5f5c71a9.zip u-boot-fda6fac39bb915fdb0ff31b998336d3a5f5c71a9.tar.gz u-boot-fda6fac39bb915fdb0ff31b998336d3a5f5c71a9.tar.bz2 |
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 'board/nvidia')
-rw-r--r-- | board/nvidia/common/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index d01abce..03f055d 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -114,9 +114,8 @@ int board_init(void) clock_init(); clock_verify(); -#ifdef CONFIG_FDT_SPI +#ifdef CONFIG_TEGRA_SPI pin_mux_spi(); - spi_init(); #endif #ifdef CONFIG_PWM_TEGRA |