spi_flash: Add spi_flash_probe_fdt() to locate SPI by FDT node
authorSimon Glass <sjg@chromium.org>
Tue, 3 Dec 2013 23:43:24 +0000 (16:43 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 9 Dec 2013 19:22:12 +0000 (12:22 -0700)
commit0efc02499f9131bd7e1689ebb8d626ef12387de4
treed6b4296f983ebe381432d7db3b12e4368ec0efe9
parent7b3efc66996b6686ad393b706c323990afa31930
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>
drivers/misc/cros_ec_spi.c
drivers/mtd/spi/sf_probe.c
drivers/spi/exynos_spi.c
drivers/spi/spi.c
include/configs/exynos5250-dt.h
include/spi.h
include/spi_flash.h