From: Piotr Dymacz Date: Thu, 11 Aug 2016 11:33:30 +0000 (+0200) Subject: Add support for Winbond W25Q128FW (16 MB, low voltage) FLASH chip X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=31870430c972f48785846c7d595128c9fa7cf2a1;p=oweals%2Fu-boot_mod.git Add support for Winbond W25Q128FW (16 MB, low voltage) FLASH chip --- diff --git a/README.md b/README.md index 4145fcc..779702e 100644 --- a/README.md +++ b/README.md @@ -321,6 +321,7 @@ Currently supported FLASH types: **16 MiB**: - Winbond W25Q128 (16 MB, JEDEC ID: EF 4018)* +- Winbond W25Q128FW (16 MB, JEDEC ID: EF 6018, 1,8 V)* - Macronix MX25L128 (16 MB, JEDEC ID: C2 2018, C2 2618) - Spansion S25FL127S (16 MB, JEDEC ID: 01 2018)* - Micron N25Q128 (16 MB, JEDEC ID: 20 BA18) diff --git a/READMEPL.md b/READMEPL.md index d5185ab..1f23818 100644 --- a/READMEPL.md +++ b/READMEPL.md @@ -312,6 +312,7 @@ Pełna lista obsługiwanych kości FLASH: **16 MiB**: - Winbond W25Q128 (16 MB, JEDEC ID: EF 4018)* +- Winbond W25Q128FW (16 MB, JEDEC ID: EF 6018, 1,8 V)* - Macronix MX25L128 (16 MB, JEDEC ID: C2 2018, C2 2618) - Spansion S25FL127S (16 MB, JEDEC ID: 01 2018)* - Micron N25Q128 (16 MB, JEDEC ID: 20 BA18) diff --git a/u-boot/common/flash.c b/u-boot/common/flash.c index 1477a50..4e92b2e 100644 --- a/u-boot/common/flash.c +++ b/u-boot/common/flash.c @@ -46,6 +46,7 @@ const spi_nor_ids_info_t spi_nor_ids[] = { { "N25Q128", 0x20BA18, SIZE_16MiB, SIZE_64KiB, 256, SPI_FLASH_CMD_ES_64KB }, { "S25FL127S", 0x012018, SIZE_16MiB, SIZE_64KiB, 256, SPI_FLASH_CMD_ES_64KB }, { "W25Q128", 0xEF4018, SIZE_16MiB, SIZE_64KiB, 256, SPI_FLASH_CMD_ES_64KB }, + { "W25Q128FW", 0xEF6018, SIZE_16MiB, SIZE_64KiB, 256, SPI_FLASH_CMD_ES_64KB }, }; const u32 spi_nor_ids_count = sizeof(spi_nor_ids) / sizeof(spi_nor_ids_info_t);