Commit b3aff0cb9ecf236d7e8c93761dd1dadf6837a582

Authored by Jon Loeliger
1 parent ddb5d86f02

disk/ doc/ lib_*/ and tools/: Remove lingering references to CFG_CMD_* symbols.

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>

Showing 12 changed files with 22 additions and 24 deletions Side-by-side Diff

... ... @@ -174,7 +174,7 @@
174 174 puts (" Capacity: not available\n");
175 175 }
176 176 }
177   -#endif /* CFG_CMD_IDE || CFG_CMD_SCSI || CFG_CMD_USB || CONFIG_MMC */
  177 +#endif
178 178  
179 179 #if (defined(CONFIG_CMD_IDE) || \
180 180 defined(CONFIG_CMD_SCSI) || \
... ... @@ -2,7 +2,7 @@
2 2 -----------------------
3 3  
4 4 JFFS2 in U-Boot is a read only implementation of the file system in
5   -Linux with the same name. To use JFFS2 define CFG_CMD_JFFS2.
  5 +Linux with the same name. To use JFFS2 define CONFIG_CMD_JFFS2.
6 6  
7 7 The module adds three new commands.
8 8 fsload - load binary file from a file system image
... ... @@ -32,10 +32,8 @@
32 32 - include/cmd_bsp.h added PIP405 commands definitions
33 33 - include/cmd_condefs.h added Floppy and SCSI support
34 34 - include/cmd_disk.h changed to work with block device description
35   -- include/config_LANTEC.h excluded CFG_CMD_FDC and CFG_CMD_SCSI from
36   - CONFIG_CMD_FULL
37   -- include/config_hymod.h excluded CFG_CMD_FDC and CFG_CMD_SCSI from
38   - CONFIG_CMD_FULL
  35 +- include/config_LANTEC.h excluded CONFIG_CMD_FDC and CONFIG_CMD_SCSI
  36 +- include/config_hymod.h excluded CONFIG_CMD_FDC and CONFIG_CMD_SCSI
39 37 - include/flash.h added INTEL_ID_28F320C3T 0x88C488C4
40 38 - include/i2c.h added "defined(CONFIG_PIP405)"
41 39 - include/image.h added IH_OS_U_BOOT, IH_TYPE_FIRMWARE
... ... @@ -88,8 +86,8 @@
88 86  
89 87 New Commands:
90 88 -------------
91   -CFG_CMD_SCSI SCSI Support
92   -CFG_CMF_FDC Floppy disk support
  89 +CONFIG_CMD_SCSI SCSI Support
  90 +CONFIG_CMF_FDC Floppy disk support
93 91  
94 92 IDE additions:
95 93 --------------
... ... @@ -172,8 +170,8 @@
172 170 Floppy support:
173 171 ---------------
174 172 Support of a standard floppy disk controller at address CFG_ISA_IO_BASE_ADDRESS
175   -+ 0x3F0. Enabled with define CFG_CMD_FDC. Reads a unformated floppy disk with a
176   -image header (see: mkimage). No interrupts and no DMA are used for this.
  173 ++ 0x3F0. Enabled with define CONFIG_CMD_FDC. Reads a unformated floppy disk
  174 +with a image header (see: mkimage). No interrupts and no DMA are used for this.
177 175 Added files:
178 176 - common/cmd_fdc.c
179 177 - include/cmd_fdc.h
... ... @@ -73,9 +73,9 @@
73 73  
74 74 Config Switches:
75 75 ----------------
76   -CFG_CMD_USB enables basic USB support and the usb command
77   -CONFIG_USB_UHCI defines the lowlevel part.A lowlevel part must be defined if
78   - using CFG_CMD_USB
  76 +CONFIG_CMD_USB enables basic USB support and the usb command
  77 +CONFIG_USB_UHCI defines the lowlevel part.A lowlevel part must be defined
  78 + if using CONFIG_CMD_USB
79 79 CONFIG_USB_KEYBOARD enables the USB Keyboard
80 80 CONFIG_USB_STORAGE enables the USB storage devices
... ... @@ -382,7 +382,7 @@
382 382 if ((s = getenv ("bootfile")) != NULL) {
383 383 copy_filename (BootFile, s, sizeof (BootFile));
384 384 }
385   -#endif /* CFG_CMD_NET */
  385 +#endif
386 386  
387 387 #ifdef BOARD_LATE_INIT
388 388 board_late_init ();
... ... @@ -9,7 +9,7 @@
9 9 */
10 10  
11 11 #ifndef USE_HOSTCC /* Shut down "ANSI does not permit..." warnings */
12   -#include <common.h> /* to get command definitions like CFG_CMD_JFFS2 */
  12 +#include <common.h>
13 13 #endif
14 14  
15 15 #include "zlib.h"
... ... @@ -196,5 +196,5 @@
196 196 return crc;
197 197 }
198 198  
199   -#endif /* CFG_CMD_JFFS2 */
  199 +#endif
... ... @@ -352,7 +352,7 @@
352 352 if ((s = getenv ("bootfile")) != NULL) {
353 353 copy_filename (BootFile, s, sizeof (BootFile));
354 354 }
355   -#endif /* CFG_CMD_NET */
  355 +#endif
356 356  
357 357 WATCHDOG_RESET();
358 358  
... ... @@ -360,7 +360,7 @@
360 360 WATCHDOG_RESET();
361 361 puts("IDE: ");
362 362 ide_init();
363   -#endif /* CFG_CMD_IDE */
  363 +#endif
364 364  
365 365 #if defined(CONFIG_CMD_SCSI)
366 366 WATCHDOG_RESET();
... ... @@ -624,7 +624,7 @@
624 624 if ((s = getenv ("bootfile")) != NULL) {
625 625 copy_filename (BootFile, s, sizeof (BootFile));
626 626 }
627   -#endif /* CFG_CMD_NET */
  627 +#endif
628 628  
629 629 WATCHDOG_RESET ();
630 630  
... ... @@ -403,7 +403,7 @@
403 403 if ((s = getenv ("bootfile")) != NULL) {
404 404 copy_filename (BootFile, s, sizeof (BootFile));
405 405 }
406   -#endif /* CFG_CMD_NET */
  406 +#endif
407 407  
408 408 #if defined(CONFIG_MISC_INIT_R)
409 409 /* miscellaneous platform dependent initialisations */
... ... @@ -982,7 +982,7 @@
982 982 if ((s = getenv ("bootfile")) != NULL) {
983 983 copy_filename (BootFile, s, sizeof (BootFile));
984 984 }
985   -#endif /* CFG_CMD_NET */
  985 +#endif
986 986  
987 987 WATCHDOG_RESET ();
988 988  
... ... @@ -1051,7 +1051,7 @@
1051 1051 #else
1052 1052 ide_init ();
1053 1053 #endif
1054   -#endif /* CFG_CMD_IDE */
  1054 +#endif
1055 1055  
1056 1056 #ifdef CONFIG_LAST_STAGE_INIT
1057 1057 WATCHDOG_RESET ();
... ... @@ -323,5 +323,5 @@
323 323 ");
324 324 }
325 325  
326   -#endif /* CFG_CMD_KGDB */
  326 +#endif
tools/updater/cmd_flash.c
... ... @@ -427,5 +427,5 @@
427 427 return rcode;
428 428 }
429 429  
430   -#endif /* CFG_CMD_FLASH */
  430 +#endif