Skip to content

Commit 60845e7

Browse files
juhosgDavid Woodhouse
authored andcommitted
mtd: m25p80: add support for the EON EN25P{32, 64} SPI flash chips
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent 5da1953 commit 60845e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/mtd/devices/m25p80.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,10 @@ static const struct spi_device_id m25p_ids[] = {
641641
{ "at26df161a", INFO(0x1f4601, 0, 64 * 1024, 32, SECT_4K) },
642642
{ "at26df321", INFO(0x1f4701, 0, 64 * 1024, 64, SECT_4K) },
643643

644+
/* EON -- en25pxx */
645+
{ "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
646+
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
647+
644648
/* Macronix */
645649
{ "mx25l4005a", INFO(0xc22013, 0, 64 * 1024, 8, SECT_4K) },
646650
{ "mx25l8005", INFO(0xc22014, 0, 64 * 1024, 16, 0) },

0 commit comments

Comments
 (0)