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)
|
.mode_bits(0xFF)
|
||||||
// 2 devices
|
// 2 devices
|
||||||
.two_mem(true)
|
.two_mem(true)
|
||||||
.u_page(false)
|
.u_page(chip_index != 0)
|
||||||
// Quad SPI mode
|
// Quad SPI mode
|
||||||
.lq_mode(false)
|
.lq_mode(false)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user