summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-03-31 12:35:50 +1100
committerDamien George <damien@micropython.org>2025-04-09 00:22:33 +1000
commitdf5e4ced762aac83200906c34e6dfcda7b7ccd6e (patch)
tree9fb3faf3f60ca1bde53b924370a253f0b196d586
parent3564ce5bd8c22254c39a556232891f9d43201eac (diff)
alif/ospi_flash_settings: Use 8-bit DFS for XIP.
To match the instruction length, so the DFS is restored to the XIP value after an erase or write (due to the final wait WIP). Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/alif/ospi_flash_settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/alif/ospi_flash_settings.h b/ports/alif/ospi_flash_settings.h
index 72403c26b..89686c494 100644
--- a/ports/alif/ospi_flash_settings.h
+++ b/ports/alif/ospi_flash_settings.h
@@ -53,7 +53,7 @@
.rxds = false, \
.bswap16 = false, \
.inst_len = OSPI_INST_L_8bit, \
- .xip_data_len = OSPI_DATA_L_16bit, \
+ .xip_data_len = OSPI_DATA_L_8bit, \
.read_sr = 0x05, \
.read_sr_dummy_cycles = 8, \
.write_en = 0x06, \
@@ -70,7 +70,7 @@
.rxds = false, \
.bswap16 = false, \
.inst_len = OSPI_INST_L_8bit, \
- .xip_data_len = OSPI_DATA_L_16bit, \
+ .xip_data_len = OSPI_DATA_L_8bit, \
.read_sr = 0x05, \
.read_sr_dummy_cycles = 8, \
.write_en = 0x06, \