From: Stefan Roese Date: Fri, 6 Jul 2007 07:45:47 +0000 (+0200) Subject: Fix problem with get/setdcr commands introduced by cfg patches X-Git-Tag: v1.3.0-rc1~19^2~20^2~18^2~76 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6b0a174a1e6f55e1f5a1fbb223cdad7645a4646e;p=u-boot Fix problem with get/setdcr commands introduced by cfg patches Signed-off-by: Stefan Roese --- diff --git a/cpu/ppc4xx/dcr.S b/cpu/ppc4xx/dcr.S index 7102364ebd..554db1bc77 100644 --- a/cpu/ppc4xx/dcr.S +++ b/cpu/ppc4xx/dcr.S @@ -22,7 +22,7 @@ */ #include -#if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR) +#if defined(CONFIG_4xx) && ((CONFIG_COMMANDS & CFG_CMD_SETGETDCR) || defined(CONFIG_CMD_SETGETDCR)) #include