mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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>
This commit is contained in:
parent
7ebfb3780c
commit
f2a53c7665
2 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -35,6 +35,8 @@ typedef int boot_os_fn(int flag, int argc, char * const argv[],
|
|||
bootm_headers_t *images);
|
||||
|
||||
extern boot_os_fn do_bootm_linux;
|
||||
extern boot_os_fn do_bootm_vxworks;
|
||||
|
||||
int do_bootelf(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
|
||||
void lynxkdi_boot(image_header_t *hdr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue