summaryrefslogtreecommitdiff
path: root/common
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
parent725671ccd2cd04c9ebc50c9e5a94dd8cbade66b7 (diff)
Fix config problems on SC3 board; make ide_reset_timeout work.
Diffstat (limited to 'common')
-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 ce99a41ab7..e308474af7 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);