]> Git Repo - J-u-boot.git/blobdiff - arch/arm/lib/reset.c
command: Remove the cmd_tbl_t typedef
[J-u-boot.git] / arch / arm / lib / reset.c
index f3ea116e8700cb8b15a85708f4d8b096d08c7f3b..65b4be20b819fc6cfb2aec14babb7c29e33f8458 100644 (file)
  */
 
 #include <common.h>
+#include <command.h>
+#include <cpu_func.h>
+#include <irq_func.h>
 
 __weak void reset_misc(void)
 {
 }
 
-int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 {
        puts ("resetting ...\n");
 
-       udelay (50000);                         /* wait 50 ms */
+       mdelay(50);                             /* wait 50 ms */
 
        disable_interrupts();
 
This page took 0.024346 seconds and 4 git commands to generate.