summaryrefslogtreecommitdiff
path: root/common/cmd_dcr.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.(none)>2005-07-28 01:50:14 +0200
committerWolfgang Denk <wd@pollux.(none)>2005-07-28 01:50:14 +0200
commite82bc62c038859b5bf7daae1bc24b7226f9ed74a (patch)
treed0b4bcbef3dee271ff27f6b5f30e29709213b016 /common/cmd_dcr.c
parent2d5df63e4f596fe439405048fd85157cdff079dc (diff)
downloadu-boot-imx-e82bc62c038859b5bf7daae1bc24b7226f9ed74a.zip
u-boot-imx-e82bc62c038859b5bf7daae1bc24b7226f9ed74a.tar.gz
u-boot-imx-e82bc62c038859b5bf7daae1bc24b7226f9ed74a.tar.bz2
Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c"
[Patch by Cedric Vincent, 6 Jul 2005]
Diffstat (limited to 'common/cmd_dcr.c')
-rw-r--r--common/cmd_dcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_dcr.c b/common/cmd_dcr.c
index a91db66..3e4e08f 100644
--- a/common/cmd_dcr.c
+++ b/common/cmd_dcr.c
@@ -29,7 +29,7 @@
#include <config.h>
#include <command.h>
-#if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR)
+#if defined(CONFIG_4xx) && (CONFIG_COMMANDS & CFG_CMD_SETGETDCR)
/* ======================================================================
* Interpreter command to retrieve an IBM PPC 4xx Device Control Register