summaryrefslogtreecommitdiff
path: root/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-07-06 09:45:47 +0200
committerWolfgang Denk <wd@denx.de>2007-07-06 10:37:56 +0200
commit6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e (patch)
tree390685c907fb5d73e65d93c022590f21c18bb49b /cpu
parentdca3b3d6d6396b67e5e84af53452164923c73443 (diff)
downloadu-boot-imx-6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e.zip
u-boot-imx-6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e.tar.gz
u-boot-imx-6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e.tar.bz2
Fix problem with get/setdcr commands introduced by cfg patches
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu')
-rw-r--r--cpu/ppc4xx/dcr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ppc4xx/dcr.S b/cpu/ppc4xx/dcr.S
index 7102364..554db1b 100644
--- a/cpu/ppc4xx/dcr.S
+++ b/cpu/ppc4xx/dcr.S
@@ -22,7 +22,7 @@
*/
#include <config.h>
-#if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR)
+#if defined(CONFIG_4xx) && ((CONFIG_COMMANDS & CFG_CMD_SETGETDCR) || defined(CONFIG_CMD_SETGETDCR))
#include <ppc4xx.h>