public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] bootm: vxworks: Make do_bootvx_fdt() static
@ 2018-12-21 15:13 Bin Meng
  2018-12-21 15:13 ` [U-Boot] [PATCH 2/3] bootm: vxworks: Make do_bootm_vxworks() non-static Bin Meng
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bin Meng @ 2018-12-21 15:13 UTC (permalink / raw)
  To: u-boot

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>
---

 common/bootm_os.c | 2 +-
 include/vxworks.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/bootm_os.c b/common/bootm_os.c
index f302135..da938c5 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 60c0efa..1a29509 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
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-01-01 13:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-21 15:13 [U-Boot] [PATCH 1/3] bootm: vxworks: Make do_bootvx_fdt() static Bin Meng
2018-12-21 15:13 ` [U-Boot] [PATCH 2/3] bootm: vxworks: Make do_bootm_vxworks() non-static Bin Meng
2019-01-01 13:32   ` [U-Boot] [U-Boot, " Tom Rini
2018-12-21 15:13 ` [U-Boot] [PATCH 3/3] riscv: bootm: Support booting VxWorks Bin Meng
2019-01-01 13:32   ` [U-Boot] [U-Boot,3/3] " Tom Rini
2018-12-31  5:09 ` [U-Boot] [PATCH 1/3] bootm: vxworks: Make do_bootvx_fdt() static Bin Meng
2019-01-01 13:32 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox