]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: Add of-platdata support to SPI and SPI flash
authorSimon Glass <sjg@chromium.org>
Sun, 13 Nov 2016 21:22:01 +0000 (14:22 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 26 Nov 2016 00:59:30 +0000 (17:59 -0700)
commit71634f289de5850503738635cc96753c9b2c5d09
tree2d64e3193229aa0e69202dd593c655cf0340789a
parentd844efec472d7ea16b229d1c2c854bed70082278
spi: Add of-platdata support to SPI and SPI flash

Some boards may want to use these subsystems with of-platdata in SPL. Add
support for this by avoiding any device tree access in this case.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/spi_flash.c
drivers/spi/spi-uclass.c