Skip to content
Snippets Groups Projects
Commit 4c2dbefd authored by Simon Glass's avatar Simon Glass
Browse files

dm: sf: Add a uclass for SPI flash


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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
parent ae242cbf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment