]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.
authorJon Loeliger <jdl@freescale.com>
Tue, 10 Jul 2007 16:19:50 +0000 (11:19 -0500)
committerJon Loeliger <jdl@freescale.com>
Tue, 10 Jul 2007 16:19:50 +0000 (11:19 -0500)
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
12 files changed:
disk/part.c
doc/README.JFFS2
doc/README.PIP405
doc/README.usb
lib_arm/board.c
lib_generic/crc32.c
lib_i386/board.c
lib_m68k/board.c
lib_mips/board.c
lib_ppc/board.c
lib_ppc/kgdb.c
tools/updater/cmd_flash.c

index b0c909cf28a404d6b3fc03270e61accc7e0c261e..0e772eeb4921690a04b12dd4a5972e71514c0560 100644 (file)
@@ -174,7 +174,7 @@ void dev_print (block_dev_desc_t *dev_desc)
                puts ("            Capacity: not available\n");
        }
 }
-#endif /* CFG_CMD_IDE || CFG_CMD_SCSI || CFG_CMD_USB || CONFIG_MMC */
+#endif
 
 #if (defined(CONFIG_CMD_IDE) || \
      defined(CONFIG_CMD_SCSI) || \
index 270da9082fb93cfe6e6bbdf48614c4edfa96b143..c5d67fd4e058e48d00a84fede2b5489c2295eed8 100644 (file)
@@ -2,7 +2,7 @@ JFFS2 options and usage.
 -----------------------
 
 JFFS2 in U-Boot is a read only implementation of the file system in
-Linux with the same name. To use JFFS2 define CFG_CMD_JFFS2.
+Linux with the same name. To use JFFS2 define CONFIG_CMD_JFFS2.
 
 The module adds three new commands.
 fsload  - load binary file from a file system image
index c5ccf1875e224dad5978e0dfc1a1cc7b35ad5e56..610ff2161d683ef67e2a599380f788b50a48c391 100644 (file)
@@ -32,10 +32,8 @@ Changed files:
 - include/cmd_bsp.h            added PIP405 commands definitions
 - include/cmd_condefs.h                added Floppy and SCSI support
 - include/cmd_disk.h           changed to work with block device description
-- include/config_LANTEC.h      excluded CFG_CMD_FDC and CFG_CMD_SCSI from
-                               CONFIG_CMD_FULL
-- include/config_hymod.h       excluded CFG_CMD_FDC and CFG_CMD_SCSI from
-                               CONFIG_CMD_FULL
+- include/config_LANTEC.h      excluded CONFIG_CMD_FDC and CONFIG_CMD_SCSI
+- include/config_hymod.h       excluded CONFIG_CMD_FDC and CONFIG_CMD_SCSI
 - include/flash.h              added INTEL_ID_28F320C3T  0x88C488C4
 - include/i2c.h                        added "defined(CONFIG_PIP405)"
 - include/image.h              added IH_OS_U_BOOT, IH_TYPE_FIRMWARE
@@ -88,8 +86,8 @@ section "Changes".
 
 New Commands:
 -------------
-CFG_CMD_SCSI   SCSI Support
-CFG_CMF_FDC    Floppy disk support
+CONFIG_CMD_SCSI        SCSI Support
+CONFIG_CMF_FDC Floppy disk support
 
 IDE additions:
 --------------
@@ -172,8 +170,8 @@ Added Devices:
 Floppy support:
 ---------------
 Support of a standard floppy disk controller at address CFG_ISA_IO_BASE_ADDRESS
-+ 0x3F0. Enabled with define CFG_CMD_FDC. Reads a unformated floppy disk with a
-image header (see: mkimage). No interrupts and no DMA are used for this.
++ 0x3F0. Enabled with define CONFIG_CMD_FDC. Reads a unformated floppy disk
+with a image header (see: mkimage). No interrupts and no DMA are used for this.
 Added files:
 - common/cmd_fdc.c
 - include/cmd_fdc.h
index 41f76f4b7e4cf328efbec3eeccd1c5aa0194acaa..b3bcb91f40681ef67decade555f061058d996409 100644 (file)
@@ -73,8 +73,8 @@ Storage USB Commands:
 
 Config Switches:
 ----------------
-CFG_CMD_USB        enables basic USB support and the usb command
-CONFIG_USB_UHCI            defines the lowlevel part.A lowlevel part must be defined if
-                   using CFG_CMD_USB
+CONFIG_CMD_USB     enables basic USB support and the usb command
+CONFIG_USB_UHCI            defines the lowlevel part.A lowlevel part must be defined
+                   if using CONFIG_CMD_USB
 CONFIG_USB_KEYBOARD enables the USB Keyboard
 CONFIG_USB_STORAGE  enables the USB storage devices
index e175607336bf27d13d400bab6106132d43bd7171..8f4e19bfcb5bf637452cc944d90a5ae58a965c41 100644 (file)
@@ -382,7 +382,7 @@ void start_armboot (void)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
 #ifdef BOARD_LATE_INIT
        board_late_init ();
index da23336d2c0c1cf2e9ca7ca14037717cb8dce649..df0dbca346634360c035a19312843e6cf3fbcf16 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #ifndef USE_HOSTCC     /* Shut down "ANSI does not permit..." warnings */
-#include <common.h>    /* to get command definitions like CFG_CMD_JFFS2 */
+#include <common.h>
 #endif
 
 #include "zlib.h"
@@ -196,4 +196,4 @@ uLong ZEXPORT crc32_no_comp(uLong crc, const Bytef *buf, uInt len)
     return crc;
 }
 
-#endif /* CFG_CMD_JFFS2 */
+#endif
index 667d2da50b4ffd1d22f80c2e77f39082b925e622..47fbab4ccb4dd9d96a00e5b1bd81d1d3effa69da 100644 (file)
@@ -352,7 +352,7 @@ void start_i386boot (void)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
        WATCHDOG_RESET();
 
@@ -360,7 +360,7 @@ void start_i386boot (void)
        WATCHDOG_RESET();
        puts("IDE:   ");
        ide_init();
-#endif /* CFG_CMD_IDE */
+#endif
 
 #if defined(CONFIG_CMD_SCSI)
        WATCHDOG_RESET();
index b7e76b881b1f7241778a306514ed9578c2e1a743..293fd04a4807c9be83a75abf764ae2ca7af22836 100644 (file)
@@ -624,7 +624,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
        WATCHDOG_RESET ();
 
index dd3d167402b85b0fb6757b4be4883821f08c44b0..91ccec04df76b04ed20816a212176a2857d8e040 100644 (file)
@@ -403,7 +403,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
 #if defined(CONFIG_MISC_INIT_R)
        /* miscellaneous platform dependent initialisations */
index 12ea47351b1bd2d16f136866a80c5ab366bbde8f..8651cb3c16c05d1ca51e03c261d708ad5b776256 100644 (file)
@@ -982,7 +982,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
        if ((s = getenv ("bootfile")) != NULL) {
                copy_filename (BootFile, s, sizeof (BootFile));
        }
-#endif /* CFG_CMD_NET */
+#endif
 
        WATCHDOG_RESET ();
 
@@ -1051,7 +1051,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
 #else
        ide_init ();
 #endif
-#endif /* CFG_CMD_IDE */
+#endif
 
 #ifdef CONFIG_LAST_STAGE_INIT
        WATCHDOG_RESET ();
index d272d3aaadc690d14e0e026f41662231ee2edc48..78c2f0c47588103d01b1e77d6834bbbddcc1e8a3 100644 (file)
@@ -323,4 +323,4 @@ kgdb_breakpoint(int argc, char *argv[])
            ");
 }
 
-#endif /* CFG_CMD_KGDB */
+#endif
index 746bcbb15388f74261bf67ac5de0a31bdb1b4f2f..a976e0da610f6f67516498ac01d8e489c74bcfdb 100644 (file)
@@ -427,4 +427,4 @@ int flash_sect_protect (int p, ulong addr_first, ulong addr_last)
        return rcode;
 }
 
-#endif /* CFG_CMD_FLASH */
+#endif