Fix problem with get/setdcr commands introduced by cfg patches
authorStefan Roese <sr@denx.de>
Fri, 6 Jul 2007 07:45:47 +0000 (09:45 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 6 Jul 2007 08:37:56 +0000 (10:37 +0200)
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/dcr.S

index 7102364ebdf6fdb7aa7cb6b18199634c8d2ea368..554db1bc77fe483b8f368261a3b7e48a69024b26 100644 (file)
@@ -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>