summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Lin <jon.lin@rock-chips.com>2021-10-25 12:33:56 +0300
committerJianhong Chen <chenjh@rock-chips.com>2021-11-04 09:32:33 +0300
commit2a212970d89b12fdb3718376f046c8305b2c1883 (patch)
tree2d054dd78d3d8b588b3ce90a8a40129f80870977
parent83cfcb32f9771681fb123214d36eb7b79a825c82 (diff)
downloadu-boot-2a212970d89b12fdb3718376f046c8305b2c1883.tar.xz
mtd: spi-nor-ids: Add support for gd25lb512m
Change-Id: I17f7798cf7f51c10bd3527d095fac57c69538784 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
-rw-r--r--drivers/mtd/spi/spi-nor-ids.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index c2e357f6f1..8dfa87cf26 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -132,6 +132,11 @@ const struct flash_info spi_nor_ids[] = {
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK)
},
+ {
+ INFO("gd25lb512m", 0xc8671a, 0, 64 * 1024, 1024,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK)
+ },
#endif
#ifdef CONFIG_SPI_FLASH_ISSI /* ISSI */
/* ISSI */