diff options
-rw-r--r-- | common/cmd_elf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/cmd_elf.c b/common/cmd_elf.c index 11ffc1b..8266bba 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -230,7 +230,8 @@ int do_bootvx (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) (char *) bootaddr); printf ("## Starting vxWorks at 0x%08lx ...\n", addr); - ((void (*)(void)) addr) (); + dcache_disable(); + ((void (*)(int)) addr) (0); puts ("## vxWorks terminated\n"); return 1; |