From: Simon Guinot Date: Sun, 1 May 2011 23:10:15 +0200 Subject: [U-Boot] [PATCH v2 1/6] sf: add support for Macronix MX25L4005A In-Reply-To: <1304284220-15215-1-git-send-email-sguinot@lacie.com> References: <1304284220-15215-1-git-send-email-sguinot@lacie.com> Message-ID: <1304284220-15215-2-git-send-email-sguinot@lacie.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Simon Guinot --- drivers/mtd/spi/macronix.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/macronix.c b/drivers/mtd/spi/macronix.c index ff66f2a..8e4d71c 100644 --- a/drivers/mtd/spi/macronix.c +++ b/drivers/mtd/spi/macronix.c @@ -71,6 +71,14 @@ static inline struct macronix_spi_flash *to_macronix_spi_flash(struct spi_flash static const struct macronix_spi_flash_params macronix_spi_flash_table[] = { { + .idcode = 0x2013, + .page_size = 256, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 8, + .name = "MX25L4005A", + }, + { .idcode = 0x2015, .page_size = 256, .pages_per_sector = 16, -- 1.6.3.1