diff options
author | Pali Rohár <pali@kernel.org> | 2022-11-24 02:45:00 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-09 22:10:28 +0300 |
commit | 544071ac4a1c301ed38d7f9ce41cc7cd0910083d (patch) | |
tree | 1ea07cac8f13fa1886135ef9131f218cf5d62fa4 /board/nokia | |
parent | 0494ab37c267a52c1deaa231b74d721b2991e904 (diff) | |
download | u-boot-544071ac4a1c301ed38d7f9ce41cc7cd0910083d.tar.xz |
Nokia RX-51: Use ENTRY/ENDPROC for save_boot_params
ENTRY/ENDPROC macros from linux/linkage.h will make code more readable and
also will properly mark assembly symbol in ELF binary as function symbol.
Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'board/nokia')
-rw-r--r-- | board/nokia/rx51/lowlevel_init.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/nokia/rx51/lowlevel_init.S b/board/nokia/rx51/lowlevel_init.S index 930052ea60..44f32f114e 100644 --- a/board/nokia/rx51/lowlevel_init.S +++ b/board/nokia/rx51/lowlevel_init.S @@ -5,6 +5,7 @@ */ #include <config.h> +#include <linux/linkage.h> kernoffs: /* offset of kernel image from this address */ .word . - CONFIG_TEXT_BASE - KERNEL_OFFSET @@ -29,8 +30,7 @@ z_magic: /* LINUX_ARM_ZIMAGE_MAGIC */ * Description: Copy attached kernel to address KERNEL_ADDRESS */ -.global save_boot_params -save_boot_params: +ENTRY(save_boot_params) /* * Copy valid attached kernel to absolute address KERNEL_ADDRESS @@ -93,3 +93,5 @@ skip_copy: /* Returns */ b save_boot_params_ret + +ENDPROC(save_boot_params) |