From 4b346f5c551ad5a96e9aed71d402f9ca037b674d Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 10 Apr 2020 20:35:42 +0200 Subject: [PATCH] libboard_zynq: fix flash manual_mode chip_index --- libboard_zynq/src/flash/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libboard_zynq/src/flash/mod.rs b/libboard_zynq/src/flash/mod.rs index 3a39c0e..9d24b71 100644 --- a/libboard_zynq/src/flash/mod.rs +++ b/libboard_zynq/src/flash/mod.rs @@ -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) );