]> git.dujemihanovic.xyz Git - u-boot.git/commit
treewide: unify the linker symbol reference format
authorShiji Yang <yangshiji66@outlook.com>
Thu, 3 Aug 2023 01:47:17 +0000 (09:47 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 9 Aug 2023 13:21:42 +0000 (09:21 -0400)
commitccea96f443e2d35cf5ecc341bb14569029eb93b8
treed5940392747a93bf244739ddc337fdec9ce98a34
parent506df9dc5881b74ca6463b89e9edcd14732a7da5
treewide: unify the linker symbol reference format

Now all linker symbols are declared as type char[]. Though we can
reference the address via both the array name 'var' and its address
'&var'. It's better to unify them to avoid confusing developers.
This patch converts all '&var' linker symbol refrences to the most
commonly used format 'var'.

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
21 files changed:
arch/arc/lib/relocate.c
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/mach-stm32mp/boot_params.c
arch/mips/lib/reloc.c
arch/mips/mach-jz47xx/jz4780/jz4780.c
arch/mips/mach-mtmips/mt7621/spl/launch.c
arch/mips/mach-mtmips/mt7621/spl/spl.c
arch/riscv/cpu/jh7110/spl.c
arch/x86/lib/relocate.c
arch/x86/lib/spl.c
arch/xtensa/lib/relocate.c
board/sifive/unleashed/unleashed.c
board/sifive/unmatched/unmatched.c
board/starfive/visionfive2/starfive_visionfive2.c
board/xilinx/common/board.c
common/board_f.c
common/board_r.c
drivers/ddr/imx/phy/helper.c
lib/fdtdec.c
lib/trace.c