forked from M-Labs/zynq-rs
libboard_zynq: fix flash manual_mode chip_index
This commit is contained in:
parent
2dda3ca4e6
commit
4b346f5c55
|
@ -328,7 +328,7 @@ impl Flash<()> {
|
|||
.mode_bits(0xFF)
|
||||
// 2 devices
|
||||
.two_mem(true)
|
||||
.u_page(false)
|
||||
.u_page(chip_index != 0)
|
||||
// Quad SPI mode
|
||||
.lq_mode(false)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue