diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-10-20 03:41:17 -0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-28 21:47:24 +0100 |
commit | 882b7d726febe65579d6502c271412ecb05821d7 (patch) | |
tree | 9932868dab6e8a9e3a0d4fcc350d0ec4511648b4 /board/xilinx | |
parent | 7842fb7c4f5be961c7aa9091dc8c760683b1377c (diff) |
do_reset: unify duplicate prototypes
The duplication of the do_reset prototype has gotten out of hand,
and they're not all in sync. Unify them all in command.h.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/microblaze-generic/microblaze-generic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/xilinx/microblaze-generic/microblaze-generic.c b/board/xilinx/microblaze-generic/microblaze-generic.c index 744384c1d3..183e4dc8b8 100644 --- a/board/xilinx/microblaze-generic/microblaze-generic.c +++ b/board/xilinx/microblaze-generic/microblaze-generic.c @@ -31,7 +31,7 @@ #include <asm/microblaze_intc.h> #include <asm/asm.h> -void do_reset (void) +int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { #ifdef CONFIG_SYS_GPIO_0 *((unsigned long *)(CONFIG_SYS_GPIO_0_ADDR)) = @@ -41,6 +41,7 @@ void do_reset (void) puts ("Reseting board\n"); asm ("bra r0"); #endif + return 0; } int gpio_init (void) |