ソースを参照

Fix CFG_CMD_SETGETDCR handling in "common/cmd_dcr.c"

[Patch by Cedric Vincent, 6 Jul 2005]
Wolfgang Denk 20 年 前
コミット
e82bc62c03
2 ファイル変更4 行追加1 行削除
  1. 3 0
      CHANGELOG
  2. 1 1
      common/cmd_dcr.c

+ 3 - 0
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.
 

+ 1 - 1
common/cmd_dcr.c

@@ -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