summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2020-12-22 09:29:22 -0500
committerGitHub <noreply@github.com>2020-12-22 09:29:22 -0500
commitf226f4a23303a663125db86411dcf099fa78b24d (patch)
tree4a7963247089cb5e2a0bc6633c74311d68606c4c /supervisor
parentd6df43b9432c992debd0d7c309765c17e80450f8 (diff)
parent17e7973ff2028536034c8c8898044ac93fa10b51 (diff)
Merge pull request #3864 from djix123/w25q64fv
Add support for Winbond W25Q64FV
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/external_flash/devices.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h
index 6c7d9550f..c8c941adf 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -384,6 +384,24 @@ typedef struct {
.write_status_register_split = false, \
}
+// Settings for the Winbond W25Q64FV 8MiB SPI flash.
+// Datasheet: https://www.winbond.com/resource-files/w25q64fv%20revs%2007182017.pdf
+#define W25Q64FV {\
+ .total_size = (1 << 23), /* 8 MiB */ \
+ .start_up_time_us = 5000, \
+ .manufacturer_id = 0xef, \
+ .memory_type = 0x40, \
+ .capacity = 0x17, \
+ .max_clock_speed_mhz = 104, \
+ .quad_enable_bit_mask = 0x02, \
+ .has_sector_protection = false, \
+ .supports_fast_read = true, \
+ .supports_qspi = true, \
+ .supports_qspi_writes = true, \
+ .write_status_register_split = false, \
+ .single_status_byte = false, \
+}
+
// Settings for the Winbond W25Q64JV-IM 8MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
#define W25Q64JV_IM {\