commit | 4c2dbefde58917205af51a2c20b3069e01e55cf4 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 13 23:42:06 2014 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Oct 22 10:36:50 2014 -0600 |
tree | e144692e3657ecd26f77c19dab4f90312b75d3e1 | |
parent | ae242cbfd0fc2b9e791688b3d9d6a19900ff3d31 [diff] |
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: Simon Glass <sjg@chromium.org> Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>