diff options
| author | Evan Lojewski <github@meklort.com> | 2021-06-19 11:11:24 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 11:11:24 -0600 |
| commit | 829ba609de3aace7fd75b3a4f79fcb986f1f5596 (patch) | |
| tree | 220a5002a92aae83d9dbe200b9398ebe6eb32d08 /utils | |
| parent | 3b6030c82406e989ca2dd4bd50ab2e8008b40afd (diff) | |
| download | bcm5719-ortega-829ba609de3aace7fd75b3a4f79fcb986f1f5596.tar.gz bcm5719-ortega-829ba609de3aace7fd75b3a4f79fcb986f1f5596.zip | |
Build: Cleanup additional static analysis issues. (#230)
Diffstat (limited to 'utils')
| -rw-r--r-- | utils/bcmflash/main.cpp | 2 | ||||
| -rw-r--r-- | utils/bcmregtool/main.cpp | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/utils/bcmflash/main.cpp b/utils/bcmflash/main.cpp index 6e32edf..9f2a8f2 100644 --- a/utils/bcmflash/main.cpp +++ b/utils/bcmflash/main.cpp @@ -192,7 +192,6 @@ void dump_stage2(NVRAMStage2_t *stage2) void dump_code_directory(NVRAMCodeDirectory_t *cd, uint8_t *nvram, const char *outfile) { - uint32_t info = be32toh(cd->codeInfo); if (info) { @@ -705,7 +704,6 @@ int main(int argc, char const *argv[]) if (extract) { - if (!bcmflash_file_write("stage1.bin", stage1, stage1_length)) { exit(-1); diff --git a/utils/bcmregtool/main.cpp b/utils/bcmregtool/main.cpp index 5eb2c4c..2a63334 100644 --- a/utils/bcmregtool/main.cpp +++ b/utils/bcmregtool/main.cpp @@ -396,7 +396,6 @@ int main(int argc, char const *argv[]) cout << "Stepping...\n"; step(); print_context(); - } while (DEVICE.RxRiscProgramCounter.r32 > 0x40000000); exit(0); } @@ -410,7 +409,6 @@ int main(int argc, char const *argv[]) step(); print_context(); - } while (DEVICE.RxRiscProgramCounter.r32 != addr); exit(0); } @@ -615,7 +613,6 @@ int main(int argc, char const *argv[]) if (options.get("apereset")) { - // Halt RegAPEMode_t mode; mode.r32 = 0; @@ -645,7 +642,6 @@ int main(int argc, char const *argv[]) } if (options.get("reset")) { - DEVICE.MiscellaneousConfig.bits.GRCReset = 1; exit(0); } |

