From 77a126fce9e4730e73f9b0ba6407769f790927ca Mon Sep 17 00:00:00 2001 From: Matt Keeter Date: Fri, 14 Jun 2024 13:28:16 -0400 Subject: [PATCH] Remove unconnected QSPI reset line (#1812) This is a legacy pin from the original Gemini Bringup Board, and isn't actually connected on Sidecar (PF5 is `V1P8_PG_A2`, which we're presumably fighting against) --- drv/auxflash-server/src/main.rs | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/drv/auxflash-server/src/main.rs b/drv/auxflash-server/src/main.rs index 7323cdb2c..5e57f9208 100644 --- a/drv/auxflash-server/src/main.rs +++ b/drv/auxflash-server/src/main.rs @@ -102,25 +102,9 @@ fn main() -> ! { sys_api::Alternate::AF10, ); - let qspi_reset = sys_api::Port::F.pin(5); - sys.gpio_reset(qspi_reset); - sys.gpio_configure_output( - qspi_reset, - sys_api::OutputType::PushPull, - sys_api::Speed::Low, - sys_api::Pull::None, - ); - - // TODO: The best clock frequency to use can vary based on the flash - // part, the command used, and signal integrity limits of the board. - // Ensure hold time for reset in case we just restarted. // TODO look up actual hold time requirement - hl::sleep_for(1); - - // Release reset and let it stabilize. - sys.gpio_set(qspi_reset); - hl::sleep_for(10); + hl::sleep_for(15); // TODO: check the ID and make sure it's what we expect //