libboard_zynq: fix flash manual_mode chip_index

This commit is contained in:
Astro 2020-04-10 20:35:42 +02:00
parent 2dda3ca4e6
commit 4b346f5c55

View File

@ -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)
); );