]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: sf: Add driver model read/write/erase methods
authorSimon Glass <sjg@chromium.org>
Thu, 26 Mar 2015 15:29:25 +0000 (09:29 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:14 +0000 (11:11 -0600)
commit8d987abc6a8553454b0b602b46a5dc09a4687110
tree48ba4f10012e59e971aee7a1ff5a3d98cae0ca85
parent60304592b96414b9d84a919262e4b2daf1a954fb
dm: sf: Add driver model read/write/erase methods

Permit use of a udevice to talk to SPI flash. Ultimately we would like
to retire the use of 'struct spi_flash' for this purpose, so create the
new API for those who want to move to it.

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