mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
arm: mach-rmobile: Mark the default s_init function as weak
Mark the default s_init function as weak, so that SoC's can override it if needed, and it will still be discarded if unused. Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
This commit is contained in:
parent
3afde5aab6
commit
aead065e0e
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@ ENTRY(save_boot_params)
|
|||
b save_boot_params_ret
|
||||
ENDPROC(save_boot_params)
|
||||
|
||||
.pushsection .text.s_init, "ax"
|
||||
WEAK(s_init)
|
||||
ret
|
||||
ENDPROC(s_init)
|
||||
.popsection
|
||||
|
||||
ENTRY(lowlevel_init)
|
||||
mov x29, lr /* Save LR */
|
||||
|
||||
|
|
Loading…
Reference in a new issue