forked from M-Labs/zynq-rs
zynq::flash: configure quad i/o fast read mode
This commit is contained in:
parent
78caca1f04
commit
a8a7f11990
@ -172,10 +172,14 @@ impl Flash<()> {
|
||||
);
|
||||
|
||||
self.regs.lqspi_cfg.write(regs::LqspiCfg::zeroed()
|
||||
.inst_code(0x3)
|
||||
.u_page(false)
|
||||
.sep_bus(false)
|
||||
.two_mem(false)
|
||||
// Quad I/O Fast Read
|
||||
.inst_code(0xEB)
|
||||
.mode_bits(0xFF)
|
||||
.dummy_byte(0x2)
|
||||
.mode_en(true)
|
||||
// 2 devices
|
||||
.two_mem(true)
|
||||
// Linear Addressing Mode
|
||||
.lq_mode(true)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user