X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=common%2Fcmd_elf.c;h=8266bba0e6935063263e4db3bb8c983316be5731;hb=4b09701b30fbfcb1097ab12a3065d178dd4f2b86;hp=11ffc1b8aa7dee46dee62f25f44170f3dcf40d61;hpb=606a76f8ef479e42ae4d06f8f3ce87e9a1c72acf;p=oweals%2Fu-boot.git diff --git a/common/cmd_elf.c b/common/cmd_elf.c index 11ffc1b8aa..8266bba0e6 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;