summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-06-08 10:24:58 +0200
committerWolfgang Denk <wd@denx.de>2007-06-08 10:24:58 +0200
commit9045f33c023f698660a2e45d1b2194c0711abebc (patch)
tree6519102cbd7a07ea01ba683ca99fcd62a16be866 /common/cmd_ide.c
parent725671ccd2cd04c9ebc50c9e5a94dd8cbade66b7 (diff)
downloadu-boot-imx-9045f33c023f698660a2e45d1b2194c0711abebc.zip
u-boot-imx-9045f33c023f698660a2e45d1b2194c0711abebc.tar.gz
u-boot-imx-9045f33c023f698660a2e45d1b2194c0711abebc.tar.bz2
Fix config problems on SC3 board; make ide_reset_timeout work.
Diffstat (limited to 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index ce99a41..e308474 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -514,11 +514,11 @@ void ide_init (void)
unsigned char c;
int i, bus;
#if defined(CONFIG_AMIGAONEG3SE) || defined(CONFIG_SC3)
- unsigned int ata_reset_time;
+ unsigned int ata_reset_time = ATA_RESET_TIME;
+ char *s;
#endif
#ifdef CONFIG_AMIGAONEG3SE
unsigned int max_bus_scan;
- char *s;
#endif
#ifdef CONFIG_IDE_8xx_PCCARD
extern int pcmcia_on (void);