From: Wolfgang Denk Date: Wed, 27 Jul 2005 23:50:14 +0000 (+0200) Subject: Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c" X-Git-Tag: LABEL_2006_03_12_0025~262 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e82bc62c038859b5bf7daae1bc24b7226f9ed74a;p=u-boot Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c" [Patch by Cedric Vincent, 6 Jul 2005] --- diff --git a/CHANGELOG b/CHANGELOG index e89c98f5ca..bde6eafea2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.3: ====================================================================== +* Patch by Cedric Vincent, 6 Jul 2005: + Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c" + * Patch by Jon Loeliger, 20 Jul 2005: Add missing PCI IO port definitions. diff --git a/common/cmd_dcr.c b/common/cmd_dcr.c index a91db66e02..3e4e08f95b 100644 --- a/common/cmd_dcr.c +++ b/common/cmd_dcr.c @@ -29,7 +29,7 @@ #include #include -#if defined(CONFIG_4xx) && defined(CFG_CMD_SETGETDCR) +#if defined(CONFIG_4xx) && (CONFIG_COMMANDS & CFG_CMD_SETGETDCR) /* ====================================================================== * Interpreter command to retrieve an IBM PPC 4xx Device Control Register