summaryrefslogtreecommitdiff
path: root/common/cmd_fdos.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_fdos.c')
-rw-r--r--common/cmd_fdos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_fdos.c b/common/cmd_fdos.c
index b3dbd19faea..aa13b526165 100644
--- a/common/cmd_fdos.c
+++ b/common/cmd_fdos.c
@@ -42,7 +42,7 @@ int do_fdosboot(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int size;
int rcode = 0;
char buf [12];
- int drive = CFG_FDC_DRIVE_NUMBER;
+ int drive = CONFIG_SYS_FDC_DRIVE_NUMBER;
/* pre-set load_addr */
if ((ep = getenv("loadaddr")) != NULL) {
@@ -118,7 +118,7 @@ int do_fdosboot(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int do_fdosls(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
char *path = "";
- int drive = CFG_FDC_DRIVE_NUMBER;
+ int drive = CONFIG_SYS_FDC_DRIVE_NUMBER;
switch (argc) {
case 1: