diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:20 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:09 -0500 |
commit | 2189d5f1e8a2fd74ce52906999fd50c8f8330c81 (patch) | |
tree | 5d9f8f4af8b10404c6137b4c3dc88b07ce4bf8cc /board/freescale | |
parent | 8bef79bf3c30cd1fc5367cc1f78f72e6552629e9 (diff) | |
download | u-boot-2189d5f1e8a2fd74ce52906999fd50c8f8330c81.zip u-boot-2189d5f1e8a2fd74ce52906999fd50c8f8330c81.tar.gz u-boot-2189d5f1e8a2fd74ce52906999fd50c8f8330c81.tar.bz2 |
Move strtomhz() to vsprintf.h
At present this function sits in its own file but it does not really
justify it. There are similar string functions in vsprintf.h, so move it
there. Also add the missing function comment.
Use the vsprintf.h include file explicitly where needed.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/freescale')
-rw-r--r-- | board/freescale/bsc9131rdb/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/bsc9132qds/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/corenet_ds/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/ls1043ardb/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/mpc8541cds/mpc8541cds.c | 1 | ||||
-rw-r--r-- | board/freescale/mpc8548cds/mpc8548cds.c | 1 | ||||
-rw-r--r-- | board/freescale/mpc8555cds/mpc8555cds.c | 1 | ||||
-rw-r--r-- | board/freescale/p1010rdb/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/p1_p2_rdb_pc/ddr.c | 1 | ||||
-rw-r--r-- | board/freescale/p1_twr/ddr.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/board/freescale/bsc9131rdb/ddr.c b/board/freescale/bsc9131rdb/ddr.c index f9f8d80..4b6d91d 100644 --- a/board/freescale/bsc9131rdb/ddr.c +++ b/board/freescale/bsc9131rdb/ddr.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> #include <asm/processor.h> diff --git a/board/freescale/bsc9132qds/ddr.c b/board/freescale/bsc9132qds/ddr.c index 191ef01..f4effe5 100644 --- a/board/freescale/bsc9132qds/ddr.c +++ b/board/freescale/bsc9132qds/ddr.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> #include <asm/processor.h> diff --git a/board/freescale/corenet_ds/ddr.c b/board/freescale/corenet_ds/ddr.c index 38f13ce..9c8731c 100644 --- a/board/freescale/corenet_ds/ddr.c +++ b/board/freescale/corenet_ds/ddr.c @@ -6,6 +6,7 @@ #include <common.h> #include <i2c.h> #include <hwconfig.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> diff --git a/board/freescale/ls1043ardb/ddr.c b/board/freescale/ls1043ardb/ddr.c index 784e482..2677b79 100644 --- a/board/freescale/ls1043ardb/ddr.c +++ b/board/freescale/ls1043ardb/ddr.c @@ -7,6 +7,7 @@ #include <fsl_ddr_sdram.h> #include <fsl_ddr_dimm_params.h> #include "ddr.h" +#include <vsprintf.h> #ifdef CONFIG_FSL_DEEP_SLEEP #include <fsl_sleep.h> #endif diff --git a/board/freescale/mpc8541cds/mpc8541cds.c b/board/freescale/mpc8541cds/mpc8541cds.c index 779c99c..be79a7c 100644 --- a/board/freescale/mpc8541cds/mpc8541cds.c +++ b/board/freescale/mpc8541cds/mpc8541cds.c @@ -7,6 +7,7 @@ #include <common.h> #include <pci.h> +#include <vsprintf.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/mpc8548cds/mpc8548cds.c b/board/freescale/mpc8548cds/mpc8548cds.c index 2799b5b..28f8a99 100644 --- a/board/freescale/mpc8548cds/mpc8548cds.c +++ b/board/freescale/mpc8548cds/mpc8548cds.c @@ -7,6 +7,7 @@ #include <common.h> #include <pci.h> +#include <vsprintf.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/mpc8555cds/mpc8555cds.c b/board/freescale/mpc8555cds/mpc8555cds.c index 6cfb8d5..bc1ebc5 100644 --- a/board/freescale/mpc8555cds/mpc8555cds.c +++ b/board/freescale/mpc8555cds/mpc8555cds.c @@ -5,6 +5,7 @@ #include <common.h> #include <pci.h> +#include <vsprintf.h> #include <asm/processor.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> diff --git a/board/freescale/p1010rdb/ddr.c b/board/freescale/p1010rdb/ddr.c index 01e3eaf..71f6259 100644 --- a/board/freescale/p1010rdb/ddr.c +++ b/board/freescale/p1010rdb/ddr.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> #include <asm/processor.h> diff --git a/board/freescale/p1_p2_rdb_pc/ddr.c b/board/freescale/p1_p2_rdb_pc/ddr.c index b9bd7b5..2346f6a 100644 --- a/board/freescale/p1_p2_rdb_pc/ddr.c +++ b/board/freescale/p1_p2_rdb_pc/ddr.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> #include <asm/processor.h> diff --git a/board/freescale/p1_twr/ddr.c b/board/freescale/p1_twr/ddr.c index 7e8bd6b..85f1f63 100644 --- a/board/freescale/p1_twr/ddr.c +++ b/board/freescale/p1_twr/ddr.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <vsprintf.h> #include <asm/mmu.h> #include <asm/immap_85xx.h> #include <asm/processor.h> |