summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-12-21 07:13:39 -0800
committerTom Rini <trini@konsulko.com>2018-12-31 08:08:51 -0500
commit7ebfb3780cbb608baaffbf6835b642484fa02ba3 (patch)
tree22feb1e739441a8fccdeb3a1c02e922beef98f62
parent51ae59228c443d2f7e1d567a3cc83130465d1426 (diff)
downloadu-boot-7ebfb3780cbb608baaffbf6835b642484fa02ba3.tar.gz
u-boot-7ebfb3780cbb608baaffbf6835b642484fa02ba3.tar.xz
u-boot-7ebfb3780cbb608baaffbf6835b642484fa02ba3.zip
bootm: vxworks: Make do_bootvx_fdt() static
Change the scope of do_bootvx_fdt() to static since it is only used in common/bootm_os.c. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r--common/bootm_os.c2
-rw-r--r--include/vxworks.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c
index f302135868..da938c56b9 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -260,7 +260,7 @@ static int do_bootm_plan9(int flag, int argc, char * const argv[],
#if defined(CONFIG_BOOTM_VXWORKS) && \
(defined(CONFIG_PPC) || defined(CONFIG_ARM))
-void do_bootvx_fdt(bootm_headers_t *images)
+static void do_bootvx_fdt(bootm_headers_t *images)
{
#if defined(CONFIG_OF_LIBFDT)
int ret;
diff --git a/include/vxworks.h b/include/vxworks.h
index 60c0efaf6e..1a29509460 100644
--- a/include/vxworks.h
+++ b/include/vxworks.h
@@ -83,6 +83,5 @@ struct efi_gop_info {
int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
void boot_prep_vxworks(bootm_headers_t *images);
void boot_jump_vxworks(bootm_headers_t *images);
-void do_bootvx_fdt(bootm_headers_t *images);
#endif