Skip to contentSkip to conversation

mtd: spi-nor: Add support for EN25QH32

PATCH New YuheiOKAWA 2 participants 4 messages May 17, 2018 – May 19, 2018

Subsystems (2)
lore
Share & tools
lore

YuheiOKAWA

author
#0 lore raw

PATCH 1/1 mtd: spi-nor: Add support for EN25QH32

Add support for Eon en25qh32 spi nor flash.

---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index 5bfa36e..7bc556c 100644
@@ -980,6 +980,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "en25q32b",   INFO(0x1c3016, 0, 64 * 1024,   64, 0) },
 	{ "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
 	{ "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
+	{ "en25ph32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
 	{ "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
 	{ "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
 	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },
Signature · 1 line
2.7.4
author
#1 lore raw

PATCH 1/1 mtd: spi-nor: Add support for EN25QH32

Add support for Eon en25qh32 spi nor flash.

Sorry, very sorry.
I had misspelled it. chip name is en25qh32, non en25ph32.

---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index 5bfa36e..7bc556c 100644
@@ -980,6 +980,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "en25q32b",   INFO(0x1c3016, 0, 64 * 1024,   64, 0) },
 	{ "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
 	{ "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
+	{ "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
 	{ "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
 	{ "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
 	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },
Signature · 1 line
2.7.4
#2 lore raw
Quoted 4 lines · On Thu, 17 May 2018 11:40:27 +0900 YuheiOKAWA <[email protected]> wrote:

Add support for Eon en25qh32 spi nor flash.

Sorry, very sorry.
I had misspelled it. chip name is en25qh32, non en25ph32.

Queued to spi-nor/next after removing this sentence :-).

Next time you want to add extra information that you don't want to appear in the commit, just put it after the "---" separator ;-).

Also, you should prefix your patch with "[PATCH v2]" and add a changelog after the "---". Something like:

"
---
Changes in v2:
- blablabla
"

Thanks,

Boris

Quoted 18 lines
---
 drivers/mtd/spi-nor/spi-nor.c | 1 +
 1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index 5bfa36e..7bc556c 100644
@@ -980,6 +980,7 @@ static const struct flash_info spi_nor_ids[] = {
 	{ "en25q32b",   INFO(0x1c3016, 0, 64 * 1024,   64, 0) },
 	{ "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
 	{ "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
+	{ "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
 	{ "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
 	{ "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
 	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },
#3 lore raw

Dear, Boris

Thanks,
Yes, I will.

Quoted 46 lines · Boris Brezillon
Quoted 4 lines · On Thu, 17 May 2018 11:40:27 +0900 YuheiOKAWA <[email protected]> wrote:

Add support for Eon en25qh32 spi nor flash.

Sorry, very sorry.
I had misspelled it. chip name is en25qh32, non en25ph32.

Queued to spi-nor/next after removing this sentence :-).

Next time you want to add extra information that you don't want to appear in the commit, just put it after the "---" separator ;-).

Also, you should prefix your patch with "[PATCH v2]" and add a changelog after the "---". Something like:

"
---
Changes in v2:
- blablabla
"

Thanks,

Boris

Quoted 18 lines
---
  drivers/mtd/spi-nor/spi-nor.c | 1 +
  1 file changed, 1 insertion(+)
drivers/mtd/spi-nor/spi-nor.c +1 -0
index 5bfa36e..7bc556c 100644
@@ -980,6 +980,7 @@ static const struct flash_info spi_nor_ids[] = {
  	{ "en25q32b",   INFO(0x1c3016, 0, 64 * 1024,   64, 0) },
  	{ "en25p64",    INFO(0x1c2017, 0, 64 * 1024,  128, 0) },
  	{ "en25q64",    INFO(0x1c3017, 0, 64 * 1024,  128, SECT_4K) },
+	{ "en25qh32",   INFO(0x1c7016, 0, 64 * 1024,   64, 0) },
  	{ "en25qh128",  INFO(0x1c7018, 0, 64 * 1024,  256, 0) },
  	{ "en25qh256",  INFO(0x1c7019, 0, 64 * 1024,  512, 0) },
  	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },
Signature · 5 lines
------------------------------------------------------
@SRCHACK.ORG
[email protected]
http://www.srchack.org/
------------------------------------------------------