summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-12-21 07:13:40 -0800
committerTom Rini <trini@konsulko.com>2018-12-31 08:08:51 -0500
commitf2a53c7665a87decac5f3048b2a97467f648659f (patch)
tree60ab2bd673577c93fb3f2d24ace2c30ba5b28004 /common
parent7ebfb3780cbb608baaffbf6835b642484fa02ba3 (diff)
downloadu-boot-f2a53c7665a87decac5f3048b2a97467f648659f.tar.gz
u-boot-f2a53c7665a87decac5f3048b2a97467f648659f.tar.bz2
u-boot-f2a53c7665a87decac5f3048b2a97467f648659f.zip
bootm: vxworks: Make do_bootm_vxworks() non-static
For future extension to other architectures, make do_bootm_vxworks() a non-static function. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'common')
-rw-r--r--common/bootm_os.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c
index da938c56b9..473b9400c8 100644
--- a/common/bootm_os.c
+++ b/common/bootm_os.c
@@ -317,8 +317,8 @@ static void do_bootvx_fdt(bootm_headers_t *images)
puts("## vxWorks terminated\n");
}
-static int do_bootm_vxworks(int flag, int argc, char * const argv[],
- bootm_headers_t *images)
+int do_bootm_vxworks(int flag, int argc, char * const argv[],
+ bootm_headers_t *images)
{
if (flag != BOOTM_STATE_OS_GO)
return 0;