projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b97ba7
)
mtd: spi-nor: add support for en25qh16
author
DENG Qingfang
<dqfext@gmail.com>
Tue, 22 Oct 2019 16:59:39 +0000
(
00:59
+0800)
committer
Tudor Ambarus
<tudor.ambarus@microchip.com>
Wed, 23 Oct 2019 06:27:19 +0000
(09:27 +0300)
Tested on HiWiFi C526A
Datasheet is available at:
http://www.xinyahong.com/upLoad/product/month_1411/
201411201256018276
.pdf
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
drivers/mtd/spi-nor/spi-nor.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/spi-nor/spi-nor.c
b/drivers/mtd/spi-nor/spi-nor.c
index 7acf4a93b5923116f113f89e75f73cb8510c1faf..013102792166eef2daf62f0e59c60840d5e7cdaa 100644
(file)
--- a/
drivers/mtd/spi-nor/spi-nor.c
+++ b/
drivers/mtd/spi-nor/spi-nor.c
@@
-2179,6
+2179,8
@@
static const struct flash_info spi_nor_ids[] = {
{ "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
{ "en25q80a", INFO(0x1c3014, 0, 64 * 1024, 16,
SECT_4K | SPI_NOR_DUAL_READ) },
+ { "en25qh16", INFO(0x1c7015, 0, 64 * 1024, 32,
+ SECT_4K | SPI_NOR_DUAL_READ) },
{ "en25qh32", INFO(0x1c7016, 0, 64 * 1024, 64, 0) },
{ "en25qh64", INFO(0x1c7017, 0, 64 * 1024, 128,
SECT_4K | SPI_NOR_DUAL_READ) },