]> git.sur5r.net Git - u-boot/commit
dm: sf: Save flash flags to struct spi_flash
authorBin Meng <bmeng.cn@gmail.com>
Tue, 28 Apr 2015 07:59:54 +0000 (13:29 +0530)
committerJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Tue, 28 Apr 2015 07:59:54 +0000 (13:29 +0530)
commitbe7be78e10bfca6fc2d5e8fbc71da2db6a55c842
tree453f30ae8cff70921071ecfaea2e089d9e6b588f
parent611c9ba2b8c27d6e3c63b663c88f1c8be9638c3a
dm: sf: Save flash flags to struct spi_flash

Add a new member 'flags' in struct spi_flash to store the flash flags
during spi_flash_validate_params().

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
drivers/mtd/spi/sf_probe.c
include/spi_flash.h