diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:45 -0700 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2020-01-24 23:06:48 +0530 |
commit | 532f90235aa8824037b13bc559723b55620370fe (patch) | |
tree | 88c27be629bd8a86f744215968e21620a3323f0a /board/freescale/p1022ds | |
parent | 65de5394640e300642de5121b2d9e5087d4783dd (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 'board/freescale/p1022ds')
-rw-r--r-- | board/freescale/p1022ds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/p1022ds/spl_minimal.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/p1022ds/spl.c b/board/freescale/p1022ds/spl.c index 8d2c1388ec..81c5bf00e2 100644 --- a/board/freescale/p1022ds/spl.c +++ b/board/freescale/p1022ds/spl.c @@ -7,6 +7,7 @@ #include <console.h> #include <env.h> #include <env_internal.h> +#include <init.h> #include <ns16550.h> #include <malloc.h> #include <mmc.h> diff --git a/board/freescale/p1022ds/spl_minimal.c b/board/freescale/p1022ds/spl_minimal.c index 9ab4029836..31de26318d 100644 --- a/board/freescale/p1022ds/spl_minimal.c +++ b/board/freescale/p1022ds/spl_minimal.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <init.h> #include <ns16550.h> #include <asm/io.h> #include <nand.h> |