mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
74c2cee4e8
commit
54ba653ab6
4 changed files with 20 additions and 12 deletions
|
@ -34,6 +34,7 @@
|
|||
|
||||
/* SPI TX operation modes */
|
||||
#define SPI_OPM_TX_QPP (1 << 0)
|
||||
#define SPI_OPM_TX_BP (1 << 1)
|
||||
|
||||
/* SPI RX operation modes */
|
||||
#define SPI_OPM_RX_AS (1 << 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue