[U-Boot] [PATCH v2 4/6] sf: Enable byte program support

Simon Glass sjg at chromium.org
Sun Dec 14 06:35:59 CET 2014


On 12 December 2014 at 07:06, Jagannadha Sutradharudu Teki
<jagannadh.teki at gmail.com> wrote:
> 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 at gmail.com>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>  drivers/mtd/spi/sf_internal.h |  5 ++++-
>  drivers/mtd/spi/sf_params.c   | 18 +++++++++---------
>  drivers/mtd/spi/sf_probe.c    |  8 ++++++--
>  include/spi.h                 |  1 +
>  4 files changed, 20 insertions(+), 12 deletions(-)

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list