]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: Move relocate_code() to init.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:45 +0000 (10:44 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 17 Jan 2020 18:26:49 +0000 (13:26 -0500)
commit941338725d339c233379def75adeaa0977587a96
treebcc3b3f8296c954690fa5ff2cd4bdf9a69467abc
parent1444998230824ac9e95c14073a00e99e59b78ed8
common: Move relocate_code() to init.h

This is an init function so move it out of the common header. Avoid using
the typedef so that we don't have to include the global_data header file.

Also tidy up the function style in comments while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
40 files changed:
arch/arm/lib/relocate_64.S
arch/m68k/cpu/mcf5227x/start.S
arch/m68k/cpu/mcf523x/start.S
arch/m68k/cpu/mcf52x2/start.S
arch/m68k/cpu/mcf530x/start.S
arch/m68k/cpu/mcf532x/start.S
arch/m68k/cpu/mcf5445x/start.S
arch/m68k/cpu/mcf547x_8x/start.S
arch/mips/lib/reloc.c
arch/nds32/cpu/n1213/start.S
arch/nios2/cpu/start.S
arch/powerpc/cpu/mpc83xx/start.S
arch/powerpc/cpu/mpc85xx/start.S
arch/powerpc/cpu/mpc86xx/start.S
arch/powerpc/cpu/mpc8xx/start.S
arch/riscv/cpu/start.S
arch/sh/lib/board.c
arch/xtensa/cpu/start.S
board/Arcturus/ucp1020/spl.c
board/Arcturus/ucp1020/spl_minimal.c
board/freescale/b4860qds/spl.c
board/freescale/bsc9131rdb/spl_minimal.c
board/freescale/bsc9132qds/spl_minimal.c
board/freescale/c29xpcie/spl.c
board/freescale/c29xpcie/spl_minimal.c
board/freescale/p1010rdb/spl.c
board/freescale/p1010rdb/spl_minimal.c
board/freescale/p1022ds/spl.c
board/freescale/p1022ds/spl_minimal.c
board/freescale/p1_p2_rdb_pc/spl.c
board/freescale/p1_p2_rdb_pc/spl_minimal.c
board/freescale/t102xqds/spl.c
board/freescale/t102xrdb/spl.c
board/freescale/t104xrdb/spl.c
board/freescale/t208xqds/spl.c
board/freescale/t208xrdb/spl.c
board/freescale/t4qds/spl.c
board/freescale/t4rdb/spl.c
include/common.h
include/init.h