]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: sf: stmicro: Add support for N25Q128 3V part
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 9 Aug 2012 14:53:33 +0000 (20:23 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Fri, 17 Aug 2012 11:31:28 +0000 (17:01 +0530)
This patch adds support for Numonyx N25Q128 3V SPI flash.

This commit is based on a diff patch from customer
niemann@heidenhain.de and is not supported by Xilinx
since it can’t be tested.

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

index 2b86dd5f8fd46808aaa82090d86a443067f39dcf..aff37465b9c120144d2770706028d0d5368bf48b 100644 (file)
@@ -120,7 +120,15 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
                .page_size = 256,
                .pages_per_sector = 256,
                .nr_sectors = 256,
-               .name = "N25Q128",
+               .name = "N25Q128_1.8V",
+       },
+       {
+               .idcode1 = 0x18,
+               .idcode = 0x20BA1810,
+               .page_size = 256,
+               .pages_per_sector = 256,
+               .nr_sectors = 256,
+               .name = "N25Q128_3V",
        },
        {
                .idcode1 = 0x18,