aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_fdc.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD2008-08-30 23:47:41 +0200
committerJean-Christophe PLAGNIOL-VILLARD2008-09-10 21:09:37 +0200
commite5648acab153f0f429bfc714902c5aaa7879f71b (patch)
treef6f18176c0c8094b281cc6def2887ebaebc35813 /common/cmd_fdc.c
parent2d02d91d530e831f2dab228085963fc1d5b71cb0 (diff)
cmd_fdc: Move conditional compilation to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'common/cmd_fdc.c')
-rw-r--r--common/cmd_fdc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/cmd_fdc.c b/common/cmd_fdc.c
index 8493defe934..b663d60a507 100644
--- a/common/cmd_fdc.c
+++ b/common/cmd_fdc.c
@@ -50,8 +50,6 @@
/*#include <rtc.h> */
/*#endif */
-#if defined(CONFIG_CMD_FDC) || defined(CONFIG_CMD_FDOS)
-
typedef struct {
int flags; /* connected drives ect */
unsigned long blnr; /* Logical block nr */
@@ -705,7 +703,6 @@ int fdc_setup(int drive, FDC_COMMAND_STRUCT *pCMD, FD_GEO_STRUCT *pFG)
return TRUE;
}
-#endif
#if defined(CONFIG_CMD_FDOS)
@@ -903,15 +900,6 @@ int do_fdcboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
return rcode;
}
-
-#endif
-
-
-/***************************************************/
-
-
-#if defined(CONFIG_CMD_FDC)
-
U_BOOT_CMD(
fdcboot, 3, 1, do_fdcboot,
"fdcboot - boot from floppy device\n",