summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-06-01 15:18:12 -0700
committerScott Shawcroft <scott@tannewt.org>2020-06-01 15:18:12 -0700
commit323cca8910012e6cbd38a353961e4766fb1c9d1e (patch)
tree09b12e60aba1c91a53196aee1fc9ae01b812f8eb /supervisor
parent2fd7a43f2f5b2bafad6bfed68b6c0a00688ece9b (diff)
parentbdbb16ec8337eec0fa7c61d91b0494519d34d318 (diff)
Merge remote-tracking branch 'adafruit/master' into wdt-nrf
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 f99fad4e7..466ab49eb 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -187,6 +187,24 @@ typedef struct {
.single_status_byte = false, \
}
+// Settings for the Gigadevice GD25S512MD 64MiB SPI flash.
+// Datasheet: http://www.gigadevice.com/datasheet/gd25s512md/
+#define GD25S512MD {\
+ .total_size = (1 << 26), /* 64 MiB */ \
+ .start_up_time_us = 5000, \
+ .manufacturer_id = 0xc8, \
+ .memory_type = 0x40, \
+ .capacity = 0x19, \
+ .max_clock_speed_mhz = 104, /* if we need 120 then we can turn on high performance mode */ \
+ .quad_enable_bit_mask = 0x02, \
+ .has_sector_protection = false, \
+ .supports_fast_read = true, \
+ .supports_qspi = true, \
+ .supports_qspi_writes = true, \
+ .write_status_register_split = true, \
+ .single_status_byte = false, \
+}
+
// Settings for the Cypress (was Spansion) S25FL064L 8MiB SPI flash.
// Datasheet: http://www.cypress.com/file/316661/download
#define S25FL064L {\