]> git.dujemihanovic.xyz Git - u-boot.git/commit
sf: Enable byte program support
authorJagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Fri, 12 Dec 2014 14:06:14 +0000 (19:36 +0530)
committerSimon Glass <sjg@chromium.org>
Sat, 13 Dec 2014 22:08:04 +0000 (15:08 -0700)
commit54ba653ab63b31c8f5405fb0ee9dfba05cbb1521
treef25ee08062a2b629296e8bb19ae0461dc7493c76
parent74c2cee4e82bb71953267e87900e279ab5aa1dc3
sf: Enable byte program support

Enabled byte program support for sst flashes in sf.

Few controllers will only support BP, so this patch gives
a tx transfer flag to set the BP so-that sf will operate
on byte program transfer.

A new TX operation mode SPI_OPM_TX_BP is introduced for such SPI
controller to use byte program op for SST flash.

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