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 /arch/powerpc/cpu | |
parent | 7842fb7c4f5be961c7aa9091dc8c760683b1377c (diff) | |
download | u-boot-imx-882b7d726febe65579d6502c271412ecb05821d7.zip u-boot-imx-882b7d726febe65579d6502c271412ecb05821d7.tar.gz u-boot-imx-882b7d726febe65579d6502c271412ecb05821d7.tar.bz2 |
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 'arch/powerpc/cpu')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cpu.c | 2 | ||||
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index fc5d951..55ee36d 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++ b/arch/powerpc/cpu/mpc85xx/cpu.c @@ -199,7 +199,7 @@ int checkcpu (void) /* ------------------------------------------------------------------------- */ -int 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[]) { /* Everything after the first generation of PQ3 parts has RSTCR */ #if defined(CONFIG_MPC8540) || defined(CONFIG_MPC8541) || \ diff --git a/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c b/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c index 9634deb..95df1d9 100644 --- a/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c +++ b/arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c @@ -416,7 +416,6 @@ static void test(void); static void DQS_calibration_process(void); #endif #endif -int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]); static unsigned char spd_read(uchar chip, uint addr) { |