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>
Showing
- drivers/misc/cros_ec_spi.c 1 addition, 2 deletionsdrivers/misc/cros_ec_spi.c
- drivers/mtd/spi/sf_probe.c 21 additions, 4 deletionsdrivers/mtd/spi/sf_probe.c
- drivers/spi/exynos_spi.c 5 additions, 5 deletionsdrivers/spi/exynos_spi.c
- drivers/spi/spi.c 19 additions, 0 deletionsdrivers/spi/spi.c
- include/configs/exynos5250-dt.h 1 addition, 0 deletionsinclude/configs/exynos5250-dt.h
- include/spi.h 17 additions, 6 deletionsinclude/spi.h
- include/spi_flash.h 13 additions, 0 deletionsinclude/spi_flash.h
Loading
Please register or sign in to comment