[U-Boot-Users] Fix problem with get/setdcr commands introduced by cfg patches

Stefan Roese
2007-07-06T07:45:47Z

Signed-off-by: Stefan Roese <sr@denx.de>

---
commit 981ee564aeea50072d23045b88918df73bb8dc37
tree 3a2d693997fad34fd049a56518dbb44195342392
parent e4dbe1b215f5c6c462e76909d240bd96472b84de
author Stefan Roese <sr@denx.de> Fri, 06 Jul 2007 09:43:55 +0200
committer Stefan Roese <sr@denx.de> Fri, 06 Jul 2007 09:43:55 +0200

cpu/ppc4xx/dcr.S | 2 +-
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>