]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sf: spansion: Add rd|wr_cmd support to S25FL128S_64K
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 20 Aug 2013 07:29:54 +0000 (12:59 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 21 Aug 2013 07:55:24 +0000 (09:55 +0200)
Added possible 3-byte address commands support to S25FL128S_64K
SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/spansion.c

index 0df9c83d1836c94ff5593ebe0de92e5f76385086..67936779dfc50282c083f9a2d73d7768a98d3e21 100644 (file)
@@ -103,6 +103,8 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
                .idcode2 = 0x4d01,
                .pages_per_sector = 256,
                .nr_sectors = 256,
+               .rd_cmd = READ_CMD_FULL,
+               .wr_cmd = PAGE_PROGRAM | QUAD_PAGE_PROGRAM,
                .name = "S25FL129P_64K/S25FL128S_64K",
        },
        {