[U-Boot] [PATCH 07/12] sf: probe: Add support for GD25* flash parts

Jagannadha Sutradharudu Teki jagannadha.sutradharudu-teki at xilinx.com
Sun Aug 4 23:20:30 CEST 2013


All GIGADEVICE GD25* flash parts are taken from spi_flash_probe_legacy.c.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
---
 drivers/mtd/spi/spi_flash_probe.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
index e48842a..8cca809 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/drivers/mtd/spi/spi_flash_probe.c
@@ -34,6 +34,10 @@ static const struct {
 	u32 sector_size;
 	u32 nr_sectors;
 } spi_flash_ids[] = {
+	/* GIGADEVICE */
+	{"GD25Q64B",		0xc84017, 0x0,	  64 * 1024,	128},
+	{"GD25LQ32",		0xc86016, 0x0,	  64 * 1024,	64},
+
 	/* EON */
 	{"EN25Q32B",		0x1c3016, 0x0,	  64 * 1024,	64},
 	{"EN25Q128B",		0x1c3018, 0x0,    64 * 1024,	256},
@@ -62,7 +66,6 @@ static const struct {
 	/*
 	 * TODO:
 	 * ATMEL
-	 * GIGADEVICE
 	 * MACRONIX
 	 * RAMTRON
 	 * SPANSION
-- 
1.8.3




More information about the U-Boot mailing list