From e82b5e5a7f3f765ca0adfd063295602753e460b1 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 30 Oct 2025 14:56:57 +0800 Subject: [PATCH] cleanup after previous commit now that the ensure QE command is part of the discovery API, there's no longer a need to call it --- bao1x-boot/boot1/src/platform/bao1x/usb/glue.rs | 2 -- loader/Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bao1x-boot/boot1/src/platform/bao1x/usb/glue.rs b/bao1x-boot/boot1/src/platform/bao1x/usb/glue.rs index 4ab2d6007..ad6f7999b 100644 --- a/bao1x-boot/boot1/src/platform/bao1x/usb/glue.rs +++ b/bao1x-boot/boot1/src/platform/bao1x/usb/glue.rs @@ -64,8 +64,6 @@ pub fn setup_spim(perclk: u32) { let flash_id = flash_spim.mem_read_id_flash(); crate::println_d!("flash ID (init): {:x}", flash_id); - flash_spim.flash_set_qe(); // ensure that QE bit is set; does nothing if already set - flash_spim.mem_qpi_mode(true); let flash_id = flash_spim.mem_read_id_flash(); crate::println_d!("QPI flash ID: {:x}", flash_id); diff --git a/loader/Cargo.toml b/loader/Cargo.toml index baf89d4b7..b30693fcd 100644 --- a/loader/Cargo.toml +++ b/loader/Cargo.toml @@ -91,7 +91,7 @@ bao1x = [ "aes/bao1x", "utralib/bao1x", # caution: leaving this on will force debug-print-usb in *all* bao1x-hal configs!! - # "bao1x-hal/debug-print-usb", + # "bao1x-hal/debug-print-uart", "debug-print", "bao1x-hal", "rand_chacha",