From c4cb016b3beb97ac7ad1c7aa08dbb6935c9efd7a Mon Sep 17 00:00:00 2001 From: Evan Lojewski Date: Sun, 7 Feb 2021 12:26:57 -0700 Subject: ape: Remove most RMU re-init calls. (#210) The RMU does not need to be reset durring a GRC Reset, so only reset if we detect a hang ont he RMU. --- ape/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ape/main.c b/ape/main.c index f0dc6d5..690791a 100644 --- a/ape/main.c +++ b/ape/main.c @@ -209,7 +209,6 @@ void handleBMCPacket(void) printf("Resetting TX...\n"); // Reset, as it's likely locked up now. wait_for_all_rx(); - RMU_init(); NCSI_reload(AS_NEEDED); } } @@ -348,7 +347,6 @@ void __attribute__((noreturn)) loaderLoop(void) printf("Handling reset...\n"); // Perform TX reinit as the PHY / MII was also probably reset. wait_for_all_rx(); - RMU_init(); NCSI_reload(AS_NEEDED); } } @@ -391,7 +389,6 @@ void __attribute__((noreturn)) loaderLoop(void) { printf("APE mode change, resetting.\n"); wait_for_all_rx(); - RMU_init(); NCSI_reload(AS_NEEDED); // Update host state to make sure we don't reset twice if it's changed. -- cgit v1.2.1