瀏覽代碼

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