summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-28 21:17:25 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-28 21:17:25 +0000
commit06550b75e540b6a096fa9c82d56474d4fcf59d32 (patch)
tree973e06e20a1daae993bf12b157aa11a0791b6325 /src
parentcc6b6c4c83bfd8bb074029814ce2a501c2cd64a9 (diff)
deal with different reset vector addresses
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1052 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/arch/ppc/init/crt0.S.lb20
1 files changed, 5 insertions, 15 deletions
diff --git a/src/arch/ppc/init/crt0.S.lb b/src/arch/ppc/init/crt0.S.lb
index 87b984b0f8..be54d03d20 100644
--- a/src/arch/ppc/init/crt0.S.lb
+++ b/src/arch/ppc/init/crt0.S.lb
@@ -5,26 +5,16 @@
#include "ppcreg.h"
#include <ppc_asm.tmpl>
-.section ".rom.data", "a", @progbits
-.section ".rom.text", "ax", @progbits
+.section ".rom.reset", "ax", @progbits
.globl _start
-.type _start, @function
-.globl __bss_end
-.globl __start_address_check
-
- /*
- * Locate at hreset vector
- */
- .space (0x100)
-
_start:
b system_reset
- /*
- * Space for exception table
- */
- .space (0x3000)
+%%EXCEPTION_VECTOR_TABLE%%
+
+.section ".rom.data", "a", @progbits
+.section ".rom.text", "ax", @progbits
system_reset: