projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
760b755
)
sf: add Gigadevice gd25q16c entry
author
Ludwig Zenz
<lzenz@dh-electronics.de>
Thu, 5 Jul 2018 07:27:45 +0000
(09:27 +0200)
committer
Jagan Teki
<jagan@amarulasolutions.com>
Mon, 16 Jul 2018 08:44:42 +0000
(14:14 +0530)
Add support for the Gigadevice gd25q16c nor flash. (Tested on a imx6 board)
Signed-off-by: Ludwig Zenz <lzenz@dh-electronics.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash_ids.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi/spi_flash_ids.c
b/drivers/mtd/spi/spi_flash_ids.c
index a493d5e3d4e55d510ee13c1af38300d1782a9b6a..722e7019ce84ba4ebc38df1ca27f045f99b02db2 100644
(file)
--- a/
drivers/mtd/spi/spi_flash_ids.c
+++ b/
drivers/mtd/spi/spi_flash_ids.c
@@
-62,6
+62,7
@@
const struct spi_flash_info spi_flash_ids[] = {
{"en25s64", INFO(0x1c3817, 0x0, 64 * 1024, 128, 0) },
#endif
#ifdef CONFIG_SPI_FLASH_GIGADEVICE /* GIGADEVICE */
+ {"gd25q16c", INFO(0xc84015, 0x0, 64 * 1024, 32, RD_FULL | WR_QPP | SECT_4K) },
{"gd25q64b", INFO(0xc84017, 0x0, 64 * 1024, 128, SECT_4K) },
{"gd25q32b", INFO(0xc84016, 0x0, 64 * 1024, 64, SECT_4K) },
{"gd25lq32", INFO(0xc86016, 0x0, 64 * 1024, 64, SECT_4K) },