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()
|
self.regs.lqspi_cfg.write(regs::LqspiCfg::zeroed()
|
||||||
.inst_code(0x3)
|
// Quad I/O Fast Read
|
||||||
.u_page(false)
|
.inst_code(0xEB)
|
||||||
.sep_bus(false)
|
.mode_bits(0xFF)
|
||||||
.two_mem(false)
|
.dummy_byte(0x2)
|
||||||
|
.mode_en(true)
|
||||||
|
// 2 devices
|
||||||
|
.two_mem(true)
|
||||||
|
// Linear Addressing Mode
|
||||||
.lq_mode(true)
|
.lq_mode(true)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue