Patchwork [U-Boot,2/2] sf: stmicro: Add support for N25Q64A

login
register
mail settings
Submitter Michal Simek
Date Jan. 23, 2013, 12:58 p.m.
Message ID <1358945885-11868-2-git-send-email-michal.simek@xilinx.com>
Download mbox | patch
Permalink /patch/214941/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Michal Simek - Jan. 23, 2013, 12:58 p.m.
From: Jagannadha Sutradharudu Teki <jagannadha.sutradharudu-teki@xilinx.com>

Add support for Numonyx N25Q64A SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 drivers/mtd/spi/stmicro.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index 96403ee..32df827 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -99,6 +99,12 @@  static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
 		.name = "N25Q64",
 	},
 	{
+		.id = 0xbb17,
+		.pages_per_sector = 256,
+		.nr_sectors = 128,
+		.name = "N25Q64A",
+	},
+	{
 		.id = 0xba18,
 		.pages_per_sector = 256,
 		.nr_sectors = 256,