aboutsummaryrefslogtreecommitdiff
path: root/src/arch/ppc/init/ppc_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/ppc/init/ppc_main.c')
-rw-r--r--src/arch/ppc/init/ppc_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/ppc/init/ppc_main.c b/src/arch/ppc/init/ppc_main.c
index 33827f0179..9853758ce4 100644
--- a/src/arch/ppc/init/ppc_main.c
+++ b/src/arch/ppc/init/ppc_main.c
@@ -10,7 +10,7 @@ extern unsigned _iseg[];
extern unsigned _liseg[];
extern unsigned _eliseg[];
-void (*hardwaremain)(int) = (void (*)(int))_iseg;
+void (*payload)(void) = (void (*)(void))_iseg;
/*
* At this point we're running out of flash with our
@@ -40,5 +40,5 @@ void ppc_main(void)
*to++ = *from++;
}
- hardwaremain(0);
+ payload();
}