Merge branch 'u-boot-sh/rmobile' into 'u-boot-arm/master'
[platform/kernel/u-boot.git] / board / ppmc7xx / ppmc7xx.c
index 5e7427f..432d366 100644 (file)
@@ -88,7 +88,7 @@ int misc_init_r( void )
  *
  * Shell command to reset the board.
  */
-void do_reset( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] )
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        printf( "Resetting...\n" );
 
@@ -100,7 +100,10 @@ void do_reset( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[] )
        _start();
 
        /* Should never get here */
-       while(1);
+       while(1)
+               ;
+
+       return 1;
 }
 
 int board_eth_init(bd_t *bis)