ar71xx: build firmware image for the WNDR3700 v4 board
[openwrt.git] / package / boot / uboot-lantiq / patches / 0014-sf-macronix-add-support-for-MX25L25635E.patch
1 From 0f31fef3d6a5110684ea31c5064c45fc448013d6 Mon Sep 17 00:00:00 2001
2 From: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
3 Date: Wed, 7 Nov 2012 15:14:24 +0100
4 Subject: sf: macronix: add support for MX25L25635E
5
6 Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
7
8 --- a/drivers/mtd/spi/macronix.c
9 +++ b/drivers/mtd/spi/macronix.c
10 @@ -79,6 +79,11 @@ static const struct macronix_spi_flash_p
11                 .nr_blocks = 256,
12                 .name = "MX25L12855E",
13         },
14 +       {
15 +               .idcode = 0x2019,
16 +               .nr_blocks = 512,
17 +               .name = "MX25L25635E",
18 +       },
19  };
20  
21  static __maybe_unused int macronix_set_4byte_mode(struct spi_flash *flash)