diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 20:44:45 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 21:26:49 +0300 |
commit | 941338725d339c233379def75adeaa0977587a96 (patch) | |
tree | bcc3b3f8296c954690fa5ff2cd4bdf9a69467abc /board/freescale/p1_p2_rdb_pc | |
parent | 1444998230824ac9e95c14073a00e99e59b78ed8 (diff) | |
download | u-boot-941338725d339c233379def75adeaa0977587a96.tar.xz |
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/p1_p2_rdb_pc')
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/spl_minimal.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c index 908f4bc96f..4ac4756b17 100644 --- a/board/freescale/p1_p2_rdb_pc/spl.c +++ b/board/freescale/p1_p2_rdb_pc/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/p1_p2_rdb_pc/spl_minimal.c b/board/freescale/p1_p2_rdb_pc/spl_minimal.c index d8ae1f835c..ced5f3c3b5 100644 --- a/board/freescale/p1_p2_rdb_pc/spl_minimal.c +++ b/board/freescale/p1_p2_rdb_pc/spl_minimal.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <init.h> #include <ns16550.h> #include <asm/io.h> #include <nand.h> |