summaryrefslogtreecommitdiffstats
path: root/common/cmd_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_elf.c')
-rw-r--r--common/cmd_elf.c3
1 files changed, 2 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud