summaryrefslogtreecommitdiffstats
path: root/utils/bcmregtool/apeloader/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bcmregtool/apeloader/main.c')
-rw-r--r--utils/bcmregtool/apeloader/main.c6
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);
OpenPOWER on IntegriCloud