aboutsummaryrefslogtreecommitdiff
path: root/board/samsung/smdk5250/smdk5250.c
diff options
context:
space:
mode:
authorHatim RV <hatim.rv@samsung.com>2012-11-02 01:15:37 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2012-11-15 21:08:21 +0900
commit3a8a70017d33e4f72f647154ed3432253b3dfac4 (patch)
treed4a8e10f3d487472af1a6316045cead4e357f796 /board/samsung/smdk5250/smdk5250.c
parent1bf43b829eae86e70895fb90f0b3a102dfc7ba2c (diff)
EXYNOS5: Enable SPI
This patch enables SPI driver for EXYNOS5. Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Signed-off-by: Hatim Ali <hatim.rv@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/smdk5250/smdk5250.c')
-rw-r--r--board/samsung/smdk5250/smdk5250.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c
index 18dd5d248..4c50342e5 100644
--- a/board/samsung/smdk5250/smdk5250.c
+++ b/board/samsung/smdk5250/smdk5250.c
@@ -24,6 +24,7 @@
#include <asm/io.h>
#include <i2c.h>
#include <netdev.h>
+#include <spi.h>
#include <asm/arch/cpu.h>
#include <asm/arch/gpio.h>
#include <asm/arch/mmc.h>
@@ -67,6 +68,9 @@ int board_init(void)
#if defined(CONFIG_PMIC)
pmic_init();
#endif
+#ifdef CONFIG_EXYNOS_SPI
+ spi_init();
+#endif
return 0;
}