summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Lojewski <github@meklort.com>2021-02-07 12:26:57 -0700
committerGitHub <noreply@github.com>2021-02-07 12:26:57 -0700
commitc4cb016b3beb97ac7ad1c7aa08dbb6935c9efd7a (patch)
tree8e9979925b3bacb0cc9cb46aba1f2e520893f108
parentd70840354d9c68b3adb690fcf19c203807a5580c (diff)
downloadbcm5719-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.c3
1 files changed, 0 insertions, 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.
OpenPOWER on IntegriCloud