diff options
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -466,6 +466,10 @@ pub fn reset(flexspi: flexspi::Instance, flash_size_kib: usize, fifo_capacity_by RXCLKSRC: LOOPBACK_DQS, ); ral::write_reg!(flexspi, flexspi, MCR1, SEQWAIT: 0xFFFF, AHBBUSWAIT: 0xFFFF); + // Fetch more data to satisfy any alignment requirements, no matter + // the AHB read burst start address. Helpful for users who are still + // using the AHB interface for reads. + ral::modify_reg!(flexspi, flexspi, AHBCR, READADDROPT: 1); ral::write_reg!(flexspi, flexspi, INTEN, 0); ral::write_reg!(flexspi, flexspi, INTR, u32::MAX); ral::write_reg!( |
