]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: Make flash->flags use for generic usage
authorJagan Teki <jteki@openedev.com>
Tue, 29 Sep 2015 05:47:02 +0000 (11:17 +0530)
committerJagan Teki <jteki@openedev.com>
Sun, 25 Oct 2015 14:47:03 +0000 (20:17 +0530)
commit1fabefddfce1bc79a3d704501efdaa053442b8c1
tree6d59273aeaa115a29b462c017ccb2dcb33c03fb3
parent70ccf5940650a2c37cc9d70ce3c866abe97e9eb5
sf: Make flash->flags use for generic usage

Use the flash->flags for generic usage, not only for dm-spi-flash,
this will be used for future flag additions.

[Correct the spi flash flags detect logic]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_internal.h
drivers/mtd/spi/sf_probe.c
include/spi_flash.h