]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sf: spansion: Correct the first byte of idcode1 for S25FL256S part
authorJagannadha Sutradharudu Teki <402jagan@gmail.com>
Fri, 14 Sep 2012 15:16:11 +0000 (20:46 +0530)
committerMichal Simek <monstr@monstr.eu>
Fri, 12 Oct 2012 06:40:01 +0000 (08:40 +0200)
This patch corrected the first byte of idcode1 for S25FL256S SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <402jagan@gmail.com>
drivers/mtd/spi/spansion.c

index 335b5140defe600400b24064d788041180a41970..4f19ee047460f18077c3b3391c760fbf9c8c5059 100644 (file)
@@ -103,7 +103,7 @@ static const struct spansion_spi_flash_params spansion_spi_flash_table[] = {
                .name = "S25FL129P_64K",
        },
        {
-               .idcode1 = 0x2019,
+               .idcode1 = 0x0219,
                .idcode2 = 0x4d01,
                .pages_per_sector = 256,
                .nr_sectors = 512,