diff options
author | Evan Lojewski <github@meklort.com> | 2020-03-21 14:44:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-21 14:44:34 -0600 |
commit | 490b5b66afc5f496287fb2db7634643ea2e17db1 (patch) | |
tree | f0ddd919c1cce2a4bdb51d5bf74264acbbebaa9b /utils/bcmregtool/apeloader/main.c | |
parent | 70fa05c6e474997ba537adb556b44c221581b4df (diff) | |
download | bcm5719-ortega-490b5b66afc5f496287fb2db7634643ea2e17db1.tar.gz bcm5719-ortega-490b5b66afc5f496287fb2db7634643ea2e17db1.zip |
clang-format: Enable additional projects and re-format. (#61)
Diffstat (limited to 'utils/bcmregtool/apeloader/main.c')
-rw-r--r-- | utils/bcmregtool/apeloader/main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/bcmregtool/apeloader/main.c b/utils/bcmregtool/apeloader/main.c index 0fa12ca..95dcd4a 100644 --- a/utils/bcmregtool/apeloader/main.c +++ b/utils/bcmregtool/apeloader/main.c @@ -47,15 +47,14 @@ #include <APE_SHM2.h> #include <APE_SHM3.h> -void init_shm(volatile SHM_t* shm) +void init_shm(volatile SHM_t *shm) { // Update shm->Sig to signal ready. shm->SegSig.bits.Sig = SHM_SEG_SIG_SIG_LOADER; shm->FwStatus.bits.Ready = 1; - } -void handle_command(volatile SHM_t* shm) +void handle_command(volatile SHM_t *shm) { uint32_t command = shm->LoaderCommand.bits.Command; if (!command) @@ -98,7 +97,6 @@ void handle_command(volatile SHM_t* shm) shm->LoaderCommand.bits.Command = 0; } - int __start() { init_shm(&SHM); |