diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-15 15:11:55 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-11-15 15:11:55 +0000 |
commit | c70b5d2f3a7d6da24dd0f4c136382c93694b36c4 (patch) | |
tree | 5f376ca93b0856bb2e0ba3bbb97e6869c8a03962 | |
parent | e14d10930f2d5f3c61d7d151f28b2d0a0a71f853 (diff) |
jumping to payload
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1280 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/arch/ppc/init/ppc_main.c | 4 |
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(); } |