]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c"
authorWolfgang Denk <wd@pollux.(none)>
Wed, 27 Jul 2005 23:50:14 +0000 (01:50 +0200)
committerWolfgang Denk <wd@pollux.(none)>
Wed, 27 Jul 2005 23:50:14 +0000 (01:50 +0200)
[Patch by Cedric Vincent, 6 Jul 2005]

CHANGELOG
common/cmd_dcr.c

index e89c98f5ca26b1489e5cff20644c63888db90121..bde6eafea2d51c9d5e7013f5152818c89d282c6e 100644 (file)
--- 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.
 
index a91db66e023533627c67f9a7f35691f7724f65ba..3e4e08f95b5ed9307ab4372c883bb28a38135458 100644 (file)
@@ -29,7 +29,7 @@
 #include <config.h>
 #include <command.h>
 
-#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