]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:45 +0000 (21:47 +0200)
commit3ca4bbed220b23fc03ba26488e6f52c916f386e5
tree38bbae47b06e4618561e08cf6bf9bae9f8e3bcd3
parent97eb4b66bfc7fa35189d92ee302ce85f16013672
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