diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:44:45 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 13:26:49 -0500 |
commit | 941338725d339c233379def75adeaa0977587a96 (patch) | |
tree | bcc3b3f8296c954690fa5ff2cd4bdf9a69467abc /board/freescale | |
parent | 1444998230824ac9e95c14073a00e99e59b78ed8 (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')
-rw-r--r-- | board/freescale/b4860qds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/bsc9131rdb/spl_minimal.c | 1 | ||||
-rw-r--r-- | board/freescale/bsc9132qds/spl_minimal.c | 1 | ||||
-rw-r--r-- | board/freescale/c29xpcie/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/c29xpcie/spl_minimal.c | 1 | ||||
-rw-r--r-- | board/freescale/p1010rdb/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/p1010rdb/spl_minimal.c | 1 | ||||
-rw-r--r-- | board/freescale/p1022ds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/p1022ds/spl_minimal.c | 1 | ||||
-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 | ||||
-rw-r--r-- | board/freescale/t102xqds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t102xrdb/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t104xrdb/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t208xqds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t208xrdb/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t4qds/spl.c | 1 | ||||
-rw-r--r-- | board/freescale/t4rdb/spl.c | 1 |
18 files changed, 18 insertions, 0 deletions
diff --git a/board/freescale/b4860qds/spl.c b/board/freescale/b4860qds/spl.c index 06ea8775044..a16db9d59a3 100644 --- a/board/freescale/b4860qds/spl.c +++ b/board/freescale/b4860qds/spl.c @@ -6,6 +6,7 @@ #include <console.h> #include <env.h> #include <env_internal.h> +#include <init.h> #include <asm/spl.h> #include <malloc.h> #include <ns16550.h> diff --git a/board/freescale/bsc9131rdb/spl_minimal.c b/board/freescale/bsc9131rdb/spl_minimal.c index e7ed0a90b8f..79df0f3cbd5 100644 --- a/board/freescale/bsc9131rdb/spl_minimal.c +++ b/board/freescale/bsc9131rdb/spl_minimal.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <init.h> #include <ns16550.h> #include <asm/io.h> #include <nand.h> diff --git a/board/freescale/bsc9132qds/spl_minimal.c b/board/freescale/bsc9132qds/spl_minimal.c index 5e1cc1f4a38..dc72b2e2f2e 100644 --- a/board/freescale/bsc9132qds/spl_minimal.c +++ b/board/freescale/bsc9132qds/spl_minimal.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <init.h> #include <ns16550.h> #include <asm/io.h> #include <nand.h> diff --git a/board/freescale/c29xpcie/spl.c b/board/freescale/c29xpcie/spl.c index 9a2385b978c..9abbfb5dbcf 100644 --- a/board/freescale/c29xpcie/spl.c +++ b/board/freescale/c29xpcie/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <ns16550.h> #include <malloc.h> #include <mmc.h> diff --git a/board/freescale/c29xpcie/spl_minimal.c b/board/freescale/c29xpcie/spl_minimal.c index 7452cec8ff6..8193afdf6aa 100644 --- a/board/freescale/c29xpcie/spl_minimal.c +++ b/board/freescale/c29xpcie/spl_minimal.c @@ -3,6 +3,7 @@ */ #include <common.h> +#include <init.h> #include <mpc85xx.h> #include <asm/io.h> #include <ns16550.h> diff --git a/board/freescale/p1010rdb/spl.c b/board/freescale/p1010rdb/spl.c index cb489140c03..240194ad804 100644 --- a/board/freescale/p1010rdb/spl.c +++ b/board/freescale/p1010rdb/spl.c @@ -6,6 +6,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/p1010rdb/spl_minimal.c b/board/freescale/p1010rdb/spl_minimal.c index b9eb4430f16..0bb2c838720 100644 --- a/board/freescale/p1010rdb/spl_minimal.c +++ b/board/freescale/p1010rdb/spl_minimal.c @@ -3,6 +3,7 @@ * Copyright 2011 Freescale Semiconductor, Inc. */ #include <common.h> +#include <init.h> #include <mpc85xx.h> #include <asm/io.h> #include <ns16550.h> diff --git a/board/freescale/p1022ds/spl.c b/board/freescale/p1022ds/spl.c index 8d2c1388ec3..81c5bf00e26 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 9ab4029836c..31de26318da 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> diff --git a/board/freescale/p1_p2_rdb_pc/spl.c b/board/freescale/p1_p2_rdb_pc/spl.c index 908f4bc96f5..4ac4756b177 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 d8ae1f835cf..ced5f3c3b5d 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> diff --git a/board/freescale/t102xqds/spl.c b/board/freescale/t102xqds/spl.c index 7a499a559fb..d1dc9f8d632 100644 --- a/board/freescale/t102xqds/spl.c +++ b/board/freescale/t102xqds/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <malloc.h> #include <ns16550.h> #include <nand.h> diff --git a/board/freescale/t102xrdb/spl.c b/board/freescale/t102xrdb/spl.c index c579be1cb25..0936f282204 100644 --- a/board/freescale/t102xrdb/spl.c +++ b/board/freescale/t102xrdb/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <malloc.h> #include <ns16550.h> #include <nand.h> diff --git a/board/freescale/t104xrdb/spl.c b/board/freescale/t104xrdb/spl.c index 2d1342fb99d..a1c8a47014a 100644 --- a/board/freescale/t104xrdb/spl.c +++ b/board/freescale/t104xrdb/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <malloc.h> #include <ns16550.h> #include <nand.h> diff --git a/board/freescale/t208xqds/spl.c b/board/freescale/t208xqds/spl.c index f0499ad7e54..fa843ef212e 100644 --- a/board/freescale/t208xqds/spl.c +++ b/board/freescale/t208xqds/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <malloc.h> #include <ns16550.h> #include <nand.h> diff --git a/board/freescale/t208xrdb/spl.c b/board/freescale/t208xrdb/spl.c index d7ca0dd6db2..f4d68b6706a 100644 --- a/board/freescale/t208xrdb/spl.c +++ b/board/freescale/t208xrdb/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <malloc.h> #include <ns16550.h> #include <nand.h> diff --git a/board/freescale/t4qds/spl.c b/board/freescale/t4qds/spl.c index df81205e88d..4cf7c09943c 100644 --- a/board/freescale/t4qds/spl.c +++ b/board/freescale/t4qds/spl.c @@ -5,6 +5,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <asm/spl.h> #include <malloc.h> #include <ns16550.h> diff --git a/board/freescale/t4rdb/spl.c b/board/freescale/t4rdb/spl.c index ec3978a70aa..28b78f32322 100644 --- a/board/freescale/t4rdb/spl.c +++ b/board/freescale/t4rdb/spl.c @@ -8,6 +8,7 @@ #include <common.h> #include <console.h> #include <env_internal.h> +#include <init.h> #include <asm/spl.h> #include <malloc.h> #include <ns16550.h> |