From 9b0d2aaf4f49b324803fc0777815201237f0af36 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Thu, 9 Aug 2012 20:23:33 +0530 Subject: [PATCH] Xilinx: ARM: sf: stmicro: Add support for N25Q128 3V part MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- drivers/mtd/spi/stmicro.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c index 2b86dd5f8fd..aff37465b9c 100644 --- a/drivers/mtd/spi/stmicro.c +++ b/drivers/mtd/spi/stmicro.c @@ -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, -- 2.47.3