summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-11-30 14:55:06 -0800
committerScott Shawcroft <scott@tannewt.org>2018-11-30 14:55:06 -0800
commit77760090e26d1493f0c55effe7d228da8a4ac6a6 (patch)
tree3d6c0becbfcb350d04447d650a764844ec4456b0 /supervisor/shared
parent95e03092630bbad9949c5fe32cd51e7c29bc065b (diff)
Fix up spi flash define
Diffstat (limited to 'supervisor/shared')
-rw-r--r--supervisor/shared/external_flash/devices.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/supervisor/shared/external_flash/devices.h b/supervisor/shared/external_flash/devices.h
index 86e0868d0..8d8574c47 100644
--- a/supervisor/shared/external_flash/devices.h
+++ b/supervisor/shared/external_flash/devices.h
@@ -220,10 +220,10 @@ typedef struct {
.memory_type = 0x70, \
.capacity = 0x15, \
.max_clock_speed_mhz = 133, \
+ .quad_enable_bit_mask = 0x02, \
.has_sector_protection = false, \
.supports_fast_read = true, \
.supports_qspi = true, \
- .has_quad_enable = true, \
.supports_qspi_writes = true, \
.write_status_register_split = false, \
}
@@ -254,10 +254,10 @@ typedef struct {
.memory_type = 0x70, \
.capacity = 0x16, \
.max_clock_speed_mhz = 133, \
+ .quad_enable_bit_mask = 0x02, \
.has_sector_protection = false, \
.supports_fast_read = true, \
.supports_qspi = true, \
- .has_quad_enable = true, \
.supports_qspi_writes = true, \
.write_status_register_split = false, \
}
@@ -275,7 +275,6 @@ typedef struct {
.has_sector_protection = false, \
.supports_fast_read = true, \
.supports_qspi = true, \
- .has_quad_enable = true, \
.supports_qspi_writes = true, \
.write_status_register_split = false, \
.single_status_byte = false, \
@@ -364,10 +363,10 @@ typedef struct {
.memory_type = 0x70, \
.capacity = 0x18, \
.max_clock_speed_mhz = 133, \
+ .quad_enable_bit_mask = 0x02, \
.has_sector_protection = false, \
.supports_fast_read = true, \
.supports_qspi = true, \
- .has_quad_enable = true, \
.supports_qspi_writes = true, \
.write_status_register_split = false, \
}