Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dm: core: Add dev_get_uclass_priv() to access uclass private data | Simon Glass | 2015-04-16 | 1 | -1/+1 |
| | | | | | | | | Add a convenience function to access the private data that a uclass stores for each of its devices. Convert over most existing uses for consistency and to provide an example for others. Signed-off-by: Simon Glass <sjg@chromium.org> | ||||
* | dm: sf: Add a uclass for SPI flash | Simon Glass | 2014-10-22 | 1 | -0/+63 |
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> |