summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_ide.c')
-rw-r--r--common/cmd_ide.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/cmd_ide.c b/common/cmd_ide.c
index 7f04577f5f..1b66b17509 100644
--- a/common/cmd_ide.c
+++ b/common/cmd_ide.c
@@ -185,10 +185,26 @@ static void set_pcmcia_timing (int pmode);
/* ------------------------------------------------------------------------- */
+#ifdef CONFIG_FASTBOOT
+int ide_init_skipped;
+#endif
+
int do_ide (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
int rcode = 0;
+#ifdef CONFIG_FASTBOOT
+ if (ide_init_skipped) {
+ ide_init_skipped = 0;
+#ifdef CONFIG_IDE_8xx_PCCARD
+ puts ("PCMCIA:");
+#else
+ puts ("IDE: ");
+#endif
+ ide_init();
+ }
+#endif
+
switch (argc) {
case 0:
case 1: