[PATCH] patch v2: SPI NOR: zynqmp: zynq: add gd25f256

Victor Lim victorswlim at gmail.com
Sun Dec 11 09:28:13 CET 2022


add gd25f256 to the file

Signed-off-by: Victor Lim <vlim at gigadevice.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index b5ce527433..bb28dcefc0 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -130,6 +130,8 @@ const struct flash_info spi_nor_ids[] = {
 	SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK)},
 	{INFO("gd25f128", 0xc84318, 0, 64 * 1024, 256,	SECT_4K	|
 	SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK)},
+	{INFO("gd25f256", 0xc84319, 0, 64 * 1024, 512,	SECT_4K |
+	SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_4B_OPCODES)},
 	{
 		INFO("gd25lq128", 0xc86018, 0, 64 * 1024, 256,
 			SECT_4K | SPI_NOR_DUAL_READ |
-- 
2.25.1



More information about the U-Boot mailing list