]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/eltec/bab7xx/bab7xx.c
do_reset: unify duplicate prototypes
[karo-tx-uboot.git] / board / eltec / bab7xx / bab7xx.c
index f5c9777ee10f9b07fa7d83401c090c0504db7dbc..ea4897b5b739de101493f67d945a3686876ffeb6 100644 (file)
@@ -184,7 +184,7 @@ void after_reloc (ulong dest_addr)
  * do_reset is done here because in this case it is board specific, since the
  * 7xx CPUs can only be reset by external HW (the RTC in this case).
  */
-void do_reset (cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const argv[])
+int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
 #if defined(CONFIG_RTC_MK48T59)
        /* trigger watchdog immediately */
@@ -192,6 +192,7 @@ void do_reset (cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char * const ar
 #else
 #error "You must define the macro CONFIG_RTC_MK48T59."
 #endif
+       return 0;
 }
 
 /* ------------------------------------------------------------------------- */