diff options
author | Evan Lojewski <github@meklort.com> | 2021-02-06 12:24:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-06 12:24:38 -0700 |
commit | f96664d95bc3654ae719df2d8143a1195267d471 (patch) | |
tree | 7a199451fa8e2472977b05a1e9f3fa5567e5611b | |
parent | 137e8d35f9b566b05b4ed8768f822a2232cdf639 (diff) | |
download | bcm5719-ortega-f96664d95bc3654ae719df2d8143a1195267d471.tar.gz bcm5719-ortega-f96664d95bc3654ae719df2d8143a1195267d471.zip |
ape: Remove reload on host state change as it's now covered by GRC reset interrupt. (#206)
-rw-r--r-- | ape/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -361,12 +361,10 @@ void __attribute__((noreturn)) loaderLoop(void) if (host_state != SHM.HostDriverState.bits.State) { - reload_type_t type; host_state = SHM.HostDriverState.bits.State; if (SHM_HOST_DRIVER_STATE_STATE_START == host_state) { - type = NEVER_RESET; printf("host started\n"); reset_allowed = true; @@ -376,20 +374,14 @@ void __attribute__((noreturn)) loaderLoop(void) if (SHM_HOST_DRIVER_STATE_STATE_UNLOAD == host_state) { printf("host unloaded.\n"); - type = AS_NEEDED; } else { printf("wol?\n"); - type = AS_NEEDED; } reset_allowed = false; } - - wait_for_all_rx(); - RMU_init(); - NCSI_reload(type); } else if (reset_allowed && !Network_checkEnableState(gPort) && !gResetOccurred) { |