On 13 October 2014 23:42, Simon Glass <s...@chromium.org> wrote:
> Add a driver model uclass for SPI flash which supports the common
> operations (read, write, erase). Since we must keep support for the
> non-dm interface, some modification of the spi_flash header is required.
>
> CONFIG_DM_SPI_FLASH is used to enable driver model for SPI flash.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.t...@gmail.com>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  drivers/mtd/spi/Makefile    |  7 ++++-
>  drivers/mtd/spi/sf-uclass.c | 63 ++++++++++++++++++++++++++++++++++++++++
>  include/dm/uclass-id.h      |  1 +
>  include/spi_flash.h         | 70 
> +++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 140 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/mtd/spi/sf-uclass.c
>

Applied to u-boot-dm/master.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to