From df5e4ced762aac83200906c34e6dfcda7b7ccd6e Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 31 Mar 2025 12:35:50 +1100 Subject: [PATCH] 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 --- ports/alif/ospi_flash_settings.h | 4 ++-- 1 file 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, \