summaryrefslogtreecommitdiff
path: root/include/configs/exynos5250-dt.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2013-12-03 16:43:24 -0700
committerSimon Glass <sjg@chromium.org>2013-12-09 12:22:12 -0700
commit0efc02499f9131bd7e1689ebb8d626ef12387de4 (patch)
treed6b4296f983ebe381432d7db3b12e4368ec0efe9 /include/configs/exynos5250-dt.h
parent7b3efc66996b6686ad393b706c323990afa31930 (diff)
downloadu-boot-imx-0efc02499f9131bd7e1689ebb8d626ef12387de4.zip
u-boot-imx-0efc02499f9131bd7e1689ebb8d626ef12387de4.tar.gz
u-boot-imx-0efc02499f9131bd7e1689ebb8d626ef12387de4.tar.bz2
spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT node
This allows us to put the SPI flash chip inside the SPI interface node, with U-Boot finding the correct bus and chip select automatically. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/exynos5250-dt.h')
-rw-r--r--include/configs/exynos5250-dt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h
index bdefee1..74ba2b6 100644
--- a/include/configs/exynos5250-dt.h
+++ b/include/configs/exynos5250-dt.h
@@ -276,6 +276,7 @@
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#define CONFIG_SF_DEFAULT_SPEED 50000000
#define EXYNOS5_SPI_NUM_CONTROLLERS 5
+#define CONFIG_OF_SPI
#endif
#ifdef CONFIG_ENV_IS_IN_SPI_FLASH