diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2020-09-22 09:09:17 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-09-26 17:25:43 +0200 |
commit | aead065e0e2e37a0d0e90073cbb2a68068d77097 (patch) | |
tree | 8fec747863a8aeb2fe190c0f05cebcef4ad99d1f /arch/arm/mach-rmobile | |
parent | 3afde5aab671870a0ea1a02bddae3788e07765d0 (diff) | |
download | u-boot-aead065e0e2e37a0d0e90073cbb2a68068d77097.tar.gz u-boot-aead065e0e2e37a0d0e90073cbb2a68068d77097.tar.xz u-boot-aead065e0e2e37a0d0e90073cbb2a68068d77097.zip |
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>
Diffstat (limited to 'arch/arm/mach-rmobile')
-rw-r--r-- | arch/arm/mach-rmobile/lowlevel_init_gen3.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-rmobile/lowlevel_init_gen3.S b/arch/arm/mach-rmobile/lowlevel_init_gen3.S index 213ec143e2..1df2c40345 100644 --- a/arch/arm/mach-rmobile/lowlevel_init_gen3.S +++ b/arch/arm/mach-rmobile/lowlevel_init_gen3.S @@ -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 */ |