Commit 160cc3ec authored by Milton Miller's avatar Milton Miller Committed by Paul Mackerras

[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: default avatarMilton Miller <miltonm@bga.com>
Acked-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 6a923216
...@@ -19,6 +19,8 @@ _zimage_start_opd: ...@@ -19,6 +19,8 @@ _zimage_start_opd:
.weak _zimage_start .weak _zimage_start
.globl _zimage_start .globl _zimage_start
_zimage_start: _zimage_start:
.globl _zimage_start_lib
_zimage_start_lib:
/* Work out the offset between the address we were linked at /* Work out the offset between the address we were linked at
and the address where we're running. */ and the address where we're running. */
bl 1f bl 1f
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment