[PATCH 4/6] arm: Use the WEAK assembly entry point consistently
Simon Glass
sjg at chromium.org
Wed Nov 23 03:09:12 CET 2022
On Tue, 22 Nov 2022 at 10:32, Tom Rini <trini at konsulko.com> wrote:
>
> It is a bad idea, and more modern toolchains will fail, if you declare
> an assembly function to be global and then weak, instead of declaring it
> weak to start with. Update assorted assembly files to use the WEAK macro
> directly.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> arch/arm/cpu/armv7/nonsec_virt.S | 3 +-
> arch/arm/cpu/armv7/psci.S | 77 +++++++++++---------------------
> arch/arm/cpu/armv7/start.S | 6 +--
> arch/arm/cpu/armv8/psci.S | 12 ++---
> arch/arm/lib/relocate.S | 3 +-
> 5 files changed, 34 insertions(+), 67 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list