]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: Use the WEAK assembly entry point consistently
authorTom Rini <trini@konsulko.com>
Tue, 22 Nov 2022 17:31:56 +0000 (12:31 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 6 Dec 2022 20:30:30 +0000 (15:30 -0500)
commitfc2240046c82d652a75cf96782502eebd16b628b
treec2215d0239ace271450af8efa13977144f875050
parent583f124aac205b354b3b73ebb62c79e8cc41e6d5
arm: Use the WEAK assembly entry point consistently

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@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Pali Rohár <pali@kernel.org>
arch/arm/cpu/armv7/nonsec_virt.S
arch/arm/cpu/armv7/psci.S
arch/arm/cpu/armv7/start.S
arch/arm/cpu/armv8/psci.S
arch/arm/lib/relocate.S