diff options
author | Evan Lojewski <github@meklort.com> | 2021-02-07 12:26:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 12:26:57 -0700 |
commit | c4cb016b3beb97ac7ad1c7aa08dbb6935c9efd7a (patch) | |
tree | 8e9979925b3bacb0cc9cb46aba1f2e520893f108 | |
parent | d70840354d9c68b3adb690fcf19c203807a5580c (diff) | |
download | bcm5719-ortega-c4cb016b3beb97ac7ad1c7aa08dbb6935c9efd7a.tar.gz bcm5719-ortega-c4cb016b3beb97ac7ad1c7aa08dbb6935c9efd7a.zip |
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.
-rw-r--r-- | ape/main.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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. |