summaryrefslogtreecommitdiffstats
path: root/fs/fdos/dev.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-06-11 19:02:20 -0500
committerWolfgang Denk <wd@denx.de>2007-07-04 00:23:12 +0200
commit4e109ae98294a5ca7ff848b7652c7bfd4023a94a (patch)
tree80dcbdc72dba03e92ffa147d4e4245a65d9af5d2 /fs/fdos/dev.c
parentd5be43de93ff905c465e509d45a3164ef48d26e7 (diff)
downloadu-boot-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.tar.gz
u-boot-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.tar.xz
u-boot-4e109ae98294a5ca7ff848b7652c7bfd4023a94a.zip
fs/: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'fs/fdos/dev.c')
-rw-r--r--fs/fdos/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fdos/dev.c b/fs/fdos/dev.c
index 5dea5cd788..334d07366d 100644
--- a/fs/fdos/dev.c
+++ b/fs/fdos/dev.c
@@ -28,7 +28,7 @@
#include "dos.h"
#include "fdos.h"
-#if (CONFIG_COMMANDS & CFG_CMD_FDOS)
+#if (CONFIG_COMMANDS & CFG_CMD_FDOS) || defined(CONFIG_CMD_FDOS)
#define NB_HEADS 2
#define NB_TRACKS 80