summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:02:01 -0400
committerScott Sweeny <scott.sweeny@timesys.com>2010-09-01 12:06:18 -0400
commit3456a4958ec2ecb2b2e35b1f37039fb28274f182 (patch)
treebf6aef6608c5410ad8b7e4f49dc2cc58aad22538 /common/cmd_ide.c
parente1dce181db649aadcf5c83e9459ebf53dd038073 (diff)
Freescale board patch for MPC5125_TWR board
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 7f04577f5fd..1b66b17509f 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: