From 0efc02499f9131bd7e1689ebb8d626ef12387de4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 3 Dec 2013 16:43:24 -0700 Subject: 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 --- include/configs/exynos5250-dt.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/exynos5250-dt.h') diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index bdefee108d..74ba2b64c4 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 -- cgit v1.2.1