common: Move relocate_code() to init.h
authorSimon Glass <sjg@chromium.org>
Sat, 28 Dec 2019 17:44:45 +0000 (10:44 -0700)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:48 +0000 (23:06 +0530)
commit532f90235aa8824037b13bc559723b55620370fe
tree88c27be629bd8a86f744215968e21620a3323f0a
parent65de5394640e300642de5121b2d9e5087d4783dd
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