aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_dcr.c
diff options
context:
space:
mode:
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 7221a865e..31c732e8d 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) && (CONFIG_COMMANDS & CFG_CMD_SETGETDCR)
+#if defined(CONFIG_4xx) && ((CONFIG_COMMANDS & CFG_CMD_SETGETDCR) || defined(CONFIG_CMD_SETGETDCR))
unsigned long get_dcr (unsigned short);
unsigned long set_dcr (unsigned short, unsigned long);