aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-lantiq/patches/0009-sf-eon-add-support-for-EN25QH256.patch
blob: 18f5823fb309ffd2b4df584f3d199e93f8893948 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From e510be1145796cd44cf5800e187a94ad7c19e764 Mon Sep 17 00:00:00 2001
From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Date: Wed, 7 Nov 2012 14:10:34 +0100
Subject: sf: eon: add support for EN25QH256

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

--- a/drivers/mtd/spi/eon.c
+++ b/drivers/mtd/spi/eon.c
@@ -29,6 +29,11 @@ static const struct eon_spi_flash_params
 		.nr_sectors = 4096,
 		.name = "EN25Q128",
 	},
+	{
+		.idcode = 0x7019,
+		.nr_sectors = 8192,
+		.name = "EN25QH256",
+	},
 };
 
 static __maybe_unused int eon_set_4byte_mode(struct spi_flash *flash)