aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/lib
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:44:45 -0700
committerTom Rini2020-01-17 13:26:49 -0500
commit941338725d339c233379def75adeaa0977587a96 (patch)
treebcc3b3f8296c954690fa5ff2cd4bdf9a69467abc /arch/mips/lib
parent1444998230824ac9e95c14073a00e99e59b78ed8 (diff)
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>
Diffstat (limited to 'arch/mips/lib')
-rw-r--r--arch/mips/lib/reloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c
index e68f49467c9..1e3cfadd2d7 100644
--- a/arch/mips/lib/reloc.c
+++ b/arch/mips/lib/reloc.c
@@ -28,6 +28,7 @@
#include <common.h>
#include <cpu_func.h>
+#include <init.h>
#include <asm/relocs.h>
#include <asm/sections.h>