* Implement new mechanism to export U-Boot's functions to standalone
  applications: instead of using (PPC-specific) system calls we now
  use a jump table; please see doc/README.standalone for details

* Patch by Dave Westwood, 24 Jul 2003:
  added support for Unity OS (a proprietary OS)
diff --git a/lib_arm/board.c b/lib_arm/board.c
index 5192e64..eebf5e4 100644
--- a/lib_arm/board.c
+++ b/lib_arm/board.c
@@ -29,7 +29,6 @@
 #include <command.h>
 #include <malloc.h>
 #include <devices.h>
-#include <syscall.h>
 #include <version.h>
 #include <net.h>
 
@@ -212,7 +211,7 @@
 
 	/* Pointer is writable since we allocated a register for it */
 	gd = &gd_data;
-	memset (gd, 0, sizeof (gd_t));
+	memset ((void *)gd, 0, sizeof (gd_t));
 	gd->bd = &bd_data;
 	memset (gd->bd, 0, sizeof (bd_t));
 
@@ -287,10 +286,7 @@
 
 	devices_init ();      /* get the devices list going. */
 
-	/* Syscalls are not implemented for ARM. But allocating
-	 * this allows the console_init routines to work without #ifdefs
-	 */
-	syscall_tbl = (void **) malloc (NR_SYSCALLS * sizeof (void *));
+	jumptable_init ();
 
 	console_init_r ();	/* fully init console as a device */