diff options
author | Milton Miller <miltonm@bga.com> | 2007-03-21 11:02:53 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-03-26 01:11:20 -0400 |
commit | 160cc3ece727c5158facec9937c2a5b10013bae1 (patch) | |
tree | 5870375db12eb80b94ec7a0d3431022ec63fcb1e /arch/powerpc/boot | |
parent | 6a923216aac01d0f3eeea606377b81541f1a2773 (diff) |
[POWERPC] bootwrapper: Allow platforms to call library zImage_start
Some platforms might need to run some code before the zImage start, but
could otherwise use the bss clear and relocation code. Export the
start address strongly as zImage_start_lib.
Signed-off-by: Milton Miller <miltonm@bga.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/crt0.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/boot/crt0.S b/arch/powerpc/boot/crt0.S index 3dc8d8f78499..25ad7453531a 100644 --- a/arch/powerpc/boot/crt0.S +++ b/arch/powerpc/boot/crt0.S | |||
@@ -19,6 +19,8 @@ _zimage_start_opd: | |||
19 | .weak _zimage_start | 19 | .weak _zimage_start |
20 | .globl _zimage_start | 20 | .globl _zimage_start |
21 | _zimage_start: | 21 | _zimage_start: |
22 | .globl _zimage_start_lib | ||
23 | _zimage_start_lib: | ||
22 | /* Work out the offset between the address we were linked at | 24 | /* Work out the offset between the address we were linked at |
23 | and the address where we're running. */ | 25 | and the address where we're running. */ |
24 | bl 1f | 26 | bl 1f |