Patchwork [U-Boot] sf: stmicro: add support for N25Q064

login
register
mail settings
Submitter Jagannadha Sutradharudu Teki
Date Dec. 12, 2012, 2:48 p.m.
Message ID <1355323736-4997-1-git-send-email-jagannadh.teki@gmail.com>
Download mbox | patch
Permalink /patch/205554/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Jagannadha Sutradharudu Teki - Dec. 12, 2012, 2:48 p.m.
Add support for Numonyx N25Q064 SPI flash.

Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
---
 drivers/mtd/spi/stmicro.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Tom Rini - Feb. 4, 2013, 4:39 p.m.
On Wed, Dec 12, 2012 at 04:48:56AM -0000, Jagannadha Sutradharudu Teki wrote:

> Add support for Numonyx N25Q064 SPI flash.
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/drivers/mtd/spi/stmicro.c b/drivers/mtd/spi/stmicro.c
index 30b626a..9ec938a 100644
--- a/drivers/mtd/spi/stmicro.c
+++ b/drivers/mtd/spi/stmicro.c
@@ -93,6 +93,12 @@  static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
 		.name = "M25P128",
 	},
 	{
+		.id = 0xba17,
+		.pages_per_sector = 256,
+		.nr_sectors = 128,
+		.name = "N25Q064",
+	},
+	{
 		.id = 0xba18,
 		.pages_per_sector = 256,
 		.nr_sectors = 256,