diff options
author | Chen-Yu Tsai <wens@csie.org> | 2020-09-29 09:20:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 09:20:16 +0300 |
commit | 2783524e6f98cdd8724b07fa5dff0ba6f44059db (patch) | |
tree | b403bb06e105126aed8dfb0a82e1d7a8383e13ea | |
parent | ef858821692e91a40c87fd1f6467e7eb29290bd6 (diff) | |
parent | bf02fd31f5714e3d3321a8d30f157b88fcb9004c (diff) |
Merge pull request #141 from Icenowy/eon-flash
fel: SPI: add Eon support
-rw-r--r-- | fel-spiflash.c | 8 |
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; |