Skip to content

Commit 76d8e5b

Browse files
committed
Add support for external flash device Winbond.com W25Q80DV
Currently, we only support external flash device W25Q80DL. This adds support for the W25Q80DL. tweak
1 parent a63f49c commit 76d8e5b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

supervisor/shared/external_flash/devices.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,23 @@ typedef struct {
371371
.single_status_byte = false, \
372372
}
373373

374+
// Settings for the Winbond W25Q80DV 1MiB SPI flash.. Note that W25Q80DL has a different memory type (0x60)
375+
// Datasheet: https://www.winbond.com/resource-files/w25q80dv%20dl_revh_10022015.pdf
376+
#define W25Q80DV {\
377+
.total_size = (1 << 20), /* 1 MiB */ \
378+
.start_up_time_us = 5000, \
379+
.manufacturer_id = 0xef, \
380+
.memory_type = 0x40, \
381+
.capacity = 0x14, \
382+
.max_clock_speed_mhz = 104, \
383+
.quad_enable_bit_mask = 0x02, \
384+
.has_sector_protection = false, \
385+
.supports_fast_read = true, \
386+
.supports_qspi = true, \
387+
.supports_qspi_writes = false, \
388+
.write_status_register_split = false, \
389+
.single_status_byte = false, \
390+
}
374391

375392
// Settings for the Winbond W25Q128JV-SQ 16MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
376393
// Datasheet: https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf

0 commit comments

Comments
 (0)