Explorar o código

Fix problem with get/setdcr commands introduced by cfg patches

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese %!s(int64=18) %!d(string=hai) anos
pai
achega
6b0a174a1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>