summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-11-15 15:11:55 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-11-15 15:11:55 +0000
commitc70b5d2f3a7d6da24dd0f4c136382c93694b36c4 (patch)
tree5f376ca93b0856bb2e0ba3bbb97e6869c8a03962 /src
parente14d10930f2d5f3c61d7d151f28b2d0a0a71f853 (diff)
jumping to payload
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1280 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-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();
}