Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/linux-sunxi/sunxi-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2020-09-29 09:20:16 +0300
committerGitHub <noreply@github.com>2020-09-29 09:20:16 +0300
commit2783524e6f98cdd8724b07fa5dff0ba6f44059db (patch)
treeb403bb06e105126aed8dfb0a82e1d7a8383e13ea
parentef858821692e91a40c87fd1f6467e7eb29290bd6 (diff)
parentbf02fd31f5714e3d3321a8d30f157b88fcb9004c (diff)
Merge pull request #141 from Icenowy/eon-flash
fel: SPI: add Eon support
-rw-r--r--fel-spiflash.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fel-spiflash.c b/fel-spiflash.c
index 5de66fb..5a22581 100644
--- a/fel-spiflash.c
+++ b/fel-spiflash.c
@@ -49,6 +49,11 @@ spi_flash_info_t spi_flash_info[] = {
.small_erase_cmd = 0x20, .small_erase_size = 4 * 1024,
.program_cmd = 0x02, .program_size = 256,
.text_description = "Macronix MX25Lxxxx" },
+ { .id = 0x1C70, .write_enable_cmd = 0x6,
+ .large_erase_cmd = 0xD8, .large_erase_size = 64 * 1024,
+ .small_erase_cmd = 0x20, .small_erase_size = 4 * 1024,
+ .program_cmd = 0x02, .program_size = 256,
+ .text_description = "Eon EN25QHxx" },
};
spi_flash_info_t default_spi_flash_info = {
@@ -472,6 +477,9 @@ void aw_fel_spiflash_info(feldev_handle *dev)
case 0xC2:
manufacturer = "Macronix";
break;
+ case 0x1C:
+ manufacturer = "Eon";
+ break;
default:
manufacturer = "Unknown";
break;