Bläddra i källkod

Fix problem with get/setdcr commands introduced by cfg patches

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 18 år sedan
förälder
incheckning
6b0a174a1e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      cpu/ppc4xx/dcr.S

+ 1 - 1
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>