]> git.sur5r.net Git - u-boot/blobdiff - lib_i386/board.c
MPC8610HPCD: Report board id, board version and fpga version.
[u-boot] / lib_i386 / board.c
index 667d2da50b4ffd1d22f80c2e77f39082b925e622..22191e6acfa4c3a60d8ec427e4949ee630a10bae 100644 (file)
@@ -352,7 +352,7 @@ void start_i386boot (void)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
        WATCHDOG_RESET();
 
@@ -360,7 +360,7 @@ void start_i386boot (void)
        WATCHDOG_RESET();
        puts("IDE:   ");
        ide_init();
-#endif /* CFG_CMD_IDE */
+#endif
 
 #if defined(CONFIG_CMD_SCSI)
        WATCHDOG_RESET();
@@ -421,3 +421,11 @@ void hang (void)
        puts ("### ERROR ### Please RESET the board ###\n");
        for (;;);
 }
+
+unsigned long do_go_exec (ulong (*entry)(int, char *[]), int argc, char *argv[])
+{
+       /*
+        * Nios function pointers are address >> 1
+        */
+       return (entry >> 1) (argc, argv);
+}