mirror of https://github.com/hak5/openwrt.git
22 lines
619 B
Diff
22 lines
619 B
Diff
From 0f31fef3d6a5110684ea31c5064c45fc448013d6 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
|
Date: Wed, 7 Nov 2012 15:14:24 +0100
|
|
Subject: sf: macronix: add support for MX25L25635E
|
|
|
|
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
|
|
|
|
--- a/drivers/mtd/spi/macronix.c
|
|
+++ b/drivers/mtd/spi/macronix.c
|
|
@@ -79,6 +79,11 @@ static const struct macronix_spi_flash_p
|
|
.nr_blocks = 256,
|
|
.name = "MX25L12855E",
|
|
},
|
|
+ {
|
|
+ .idcode = 0x2019,
|
|
+ .nr_blocks = 512,
|
|
+ .name = "MX25L25635E",
|
|
+ },
|
|
};
|
|
|
|
static __maybe_unused int macronix_set_4byte_mode(struct spi_flash *flash)
|