Commit 602ad3b33d9ceef83dbab46be68646d645d637ee

Authored by Jon Loeliger
Committed by Wolfgang Denk
1 parent 72a074cec6

README: Rewrite command line config to use CONFIG_CMD_* names.

Signed-off-by: Jon Loeliger <jdl@freescale.com>

Showing 1 changed file with 86 additions and 93 deletions Side-by-side Diff

... ... @@ -541,7 +541,7 @@
541 541 CFG_CONSOLE_BLINK_COUNT blink interval (cf. i8042.c)
542 542 CONFIG_CONSOLE_TIME display time/date info in
543 543 upper right corner
544   - (requires CFG_CMD_DATE)
  544 + (requires CONFIG_CMD_DATE)
545 545 CONFIG_VIDEO_LOGO display Linux logo in
546 546 upper left corner
547 547 CONFIG_VIDEO_BMP_LOGO use bmp_logo.h instead of
548 548  
549 549  
550 550  
551 551  
552 552  
553 553  
... ... @@ -645,103 +645,96 @@
645 645 time on others. This setting #define's the initial
646 646 value of the "loads_echo" environment variable.
647 647  
648   -- Kgdb Serial Baudrate: (if CFG_CMD_KGDB is defined)
  648 +- Kgdb Serial Baudrate: (if CONFIG_CMD_KGDB is defined)
649 649 CONFIG_KGDB_BAUDRATE
650 650 Select one of the baudrates listed in
651 651 CFG_BAUDRATE_TABLE, see below.
652 652  
653 653 - Monitor Functions:
654   - CONFIG_COMMANDS
655   - Most monitor functions can be selected (or
656   - de-selected) by adjusting the definition of
657   - CONFIG_COMMANDS; to select individual functions,
658   - #define CONFIG_COMMANDS by "OR"ing any of the
659   - following values:
  654 + Monitor commands can be included or excluded
  655 + from the build by using the #include files
  656 + "config_cmd_all.h" and #undef'ing unwanted
  657 + commands, or using "config_cmd_default.h"
  658 + and augmenting with additional #define's
  659 + for wanted commands.
660 660  
661   - #define enables commands:
662   - -------------------------
663   - CFG_CMD_ASKENV * ask for env variable
664   - CFG_CMD_AUTOSCRIPT Autoscript Support
665   - CFG_CMD_BDI bdinfo
666   - CFG_CMD_BEDBUG * Include BedBug Debugger
667   - CFG_CMD_BMP * BMP support
668   - CFG_CMD_BSP * Board specific commands
669   - CFG_CMD_BOOTD bootd
670   - CFG_CMD_CACHE * icache, dcache
671   - CFG_CMD_CONSOLE coninfo
672   - CFG_CMD_DATE * support for RTC, date/time...
673   - CFG_CMD_DHCP * DHCP support
674   - CFG_CMD_DIAG * Diagnostics
675   - CFG_CMD_DOC * Disk-On-Chip Support
676   - CFG_CMD_DTT * Digital Therm and Thermostat
677   - CFG_CMD_ECHO echo arguments
678   - CFG_CMD_EEPROM * EEPROM read/write support
679   - CFG_CMD_ELF * bootelf, bootvx
680   - CFG_CMD_ENV saveenv
681   - CFG_CMD_FDC * Floppy Disk Support
682   - CFG_CMD_FAT * FAT partition support
683   - CFG_CMD_FDOS * Dos diskette Support
684   - CFG_CMD_FLASH flinfo, erase, protect
685   - CFG_CMD_FPGA FPGA device initialization support
686   - CFG_CMD_HWFLOW * RTS/CTS hw flow control
687   - CFG_CMD_I2C * I2C serial bus support
688   - CFG_CMD_IDE * IDE harddisk support
689   - CFG_CMD_IMI iminfo
690   - CFG_CMD_IMLS List all found images
691   - CFG_CMD_IMMAP * IMMR dump support
692   - CFG_CMD_IRQ * irqinfo
693   - CFG_CMD_ITEST Integer/string test of 2 values
694   - CFG_CMD_JFFS2 * JFFS2 Support
695   - CFG_CMD_KGDB * kgdb
696   - CFG_CMD_LOADB loadb
697   - CFG_CMD_LOADS loads
698   - CFG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base,
699   - loop, loopw, mtest
700   - CFG_CMD_MISC Misc functions like sleep etc
701   - CFG_CMD_MMC * MMC memory mapped support
702   - CFG_CMD_MII * MII utility commands
703   - CFG_CMD_NAND * NAND support
704   - CFG_CMD_NET bootp, tftpboot, rarpboot
705   - CFG_CMD_PCI * pciinfo
706   - CFG_CMD_PCMCIA * PCMCIA support
707   - CFG_CMD_PING * send ICMP ECHO_REQUEST to network host
708   - CFG_CMD_PORTIO * Port I/O
709   - CFG_CMD_REGINFO * Register dump
710   - CFG_CMD_RUN run command in env variable
711   - CFG_CMD_SAVES * save S record dump
712   - CFG_CMD_SCSI * SCSI Support
713   - CFG_CMD_SDRAM * print SDRAM configuration information
714   - (requires CFG_CMD_I2C)
715   - CFG_CMD_SETGETDCR Support for DCR Register access (4xx only)
716   - CFG_CMD_SPI * SPI serial bus support
717   - CFG_CMD_USB * USB support
718   - CFG_CMD_VFD * VFD support (TRAB)
719   - CFG_CMD_BSP * Board SPecific functions
720   - CFG_CMD_CDP * Cisco Discover Protocol support
721   - CFG_CMD_FSL * Microblaze FSL support
722   - -----------------------------------------------
723   - CFG_CMD_ALL all
  661 + The default command configuration includes all commands
  662 + except those marked below with a "*".
724 663  
725   - CONFIG_CMD_DFL Default configuration; at the moment
726   - this is includes all commands, except
727   - the ones marked with "*" in the list
728   - above.
  664 + CONFIG_CMD_ASKENV * ask for env variable
  665 + CONFIG_CMD_AUTOSCRIPT Autoscript Support
  666 + CONFIG_CMD_BDI bdinfo
  667 + CONFIG_CMD_BEDBUG * Include BedBug Debugger
  668 + CONFIG_CMD_BMP * BMP support
  669 + CONFIG_CMD_BSP * Board specific commands
  670 + CONFIG_CMD_BOOTD bootd
  671 + CONFIG_CMD_CACHE * icache, dcache
  672 + CONFIG_CMD_CONSOLE coninfo
  673 + CONFIG_CMD_DATE * support for RTC, date/time...
  674 + CONFIG_CMD_DHCP * DHCP support
  675 + CONFIG_CMD_DIAG * Diagnostics
  676 + CONFIG_CMD_DOC * Disk-On-Chip Support
  677 + CONFIG_CMD_DTT * Digital Therm and Thermostat
  678 + CONFIG_CMD_ECHO echo arguments
  679 + CONFIG_CMD_EEPROM * EEPROM read/write support
  680 + CONFIG_CMD_ELF * bootelf, bootvx
  681 + CONFIG_CMD_ENV saveenv
  682 + CONFIG_CMD_FDC * Floppy Disk Support
  683 + CONFIG_CMD_FAT * FAT partition support
  684 + CONFIG_CMD_FDOS * Dos diskette Support
  685 + CONFIG_CMD_FLASH flinfo, erase, protect
  686 + CONFIG_CMD_FPGA FPGA device initialization support
  687 + CONFIG_CMD_HWFLOW * RTS/CTS hw flow control
  688 + CONFIG_CMD_I2C * I2C serial bus support
  689 + CONFIG_CMD_IDE * IDE harddisk support
  690 + CONFIG_CMD_IMI iminfo
  691 + CONFIG_CMD_IMLS List all found images
  692 + CONFIG_CMD_IMMAP * IMMR dump support
  693 + CONFIG_CMD_IRQ * irqinfo
  694 + CONFIG_CMD_ITEST Integer/string test of 2 values
  695 + CONFIG_CMD_JFFS2 * JFFS2 Support
  696 + CONFIG_CMD_KGDB * kgdb
  697 + CONFIG_CMD_LOADB loadb
  698 + CONFIG_CMD_LOADS loads
  699 + CONFIG_CMD_MEMORY md, mm, nm, mw, cp, cmp, crc, base,
  700 + loop, loopw, mtest
  701 + CONFIG_CMD_MISC Misc functions like sleep etc
  702 + CONFIG_CMD_MMC * MMC memory mapped support
  703 + CONFIG_CMD_MII * MII utility commands
  704 + CONFIG_CMD_NAND * NAND support
  705 + CONFIG_CMD_NET bootp, tftpboot, rarpboot
  706 + CONFIG_CMD_PCI * pciinfo
  707 + CONFIG_CMD_PCMCIA * PCMCIA support
  708 + CONFIG_CMD_PING * send ICMP ECHO_REQUEST to network
  709 + host
  710 + CONFIG_CMD_PORTIO * Port I/O
  711 + CONFIG_CMD_REGINFO * Register dump
  712 + CONFIG_CMD_RUN run command in env variable
  713 + CONFIG_CMD_SAVES * save S record dump
  714 + CONFIG_CMD_SCSI * SCSI Support
  715 + CONFIG_CMD_SDRAM * print SDRAM configuration information
  716 + (requires CONFIG_CMD_I2C)
  717 + CONFIG_CMD_SETGETDCR Support for DCR Register access
  718 + (4xx only)
  719 + CONFIG_CMD_SPI * SPI serial bus support
  720 + CONFIG_CMD_USB * USB support
  721 + CONFIG_CMD_VFD * VFD support (TRAB)
  722 + CONFIG_CMD_BSP * Board SPecific functions
  723 + CONFIG_CMD_CDP * Cisco Discover Protocol support
  724 + CONFIG_CMD_FSL * Microblaze FSL support
729 725  
730   - If you don't define CONFIG_COMMANDS it defaults to
731   - CONFIG_CMD_DFL in include/cmd_confdefs.h. A board can
732   - override the default settings in the respective
733   - include file.
734 726  
735 727 EXAMPLE: If you want all functions except of network
736 728 support you can write:
737 729  
738   - #define CONFIG_COMMANDS (CFG_CMD_ALL & ~CFG_CMD_NET)
  730 + #include "config_cmd_all.h"
  731 + #undef CONFIG_CMD_NET
739 732  
740 733 Other Commands:
741 734 fdt (flattened device tree) command: CONFIG_OF_LIBFDT
742 735  
743 736 Note: Don't enable the "icache" and "dcache" commands
744   - (configuration option CFG_CMD_CACHE) unless you know
  737 + (configuration option CONFIG_CMD_CACHE) unless you know
745 738 what you (and your U-Boot users) are doing. Data
746 739 cache cannot be enabled on systems like the 8xx or
747 740 8260 (where accesses to the IMMR region must be
... ... @@ -769,7 +762,7 @@
769 762  
770 763 - Real-Time Clock:
771 764  
772   - When CFG_CMD_DATE is selected, the type of the RTC
  765 + When CONFIG_CMD_DATE is selected, the type of the RTC
773 766 has to be selected, too. Define exactly one of the
774 767 following options:
775 768  
776 769  
... ... @@ -790,14 +783,14 @@
790 783 When CONFIG_TIMESTAMP is selected, the timestamp
791 784 (date and time) of an image is printed by image
792 785 commands like bootm or iminfo. This option is
793   - automatically enabled when you select CFG_CMD_DATE .
  786 + automatically enabled when you select CONFIG_CMD_DATE .
794 787  
795 788 - Partition Support:
796 789 CONFIG_MAC_PARTITION and/or CONFIG_DOS_PARTITION
797 790 and/or CONFIG_ISO_PARTITION
798 791  
799   - If IDE or SCSI support is enabled (CFG_CMD_IDE or
800   - CFG_CMD_SCSI) you must configure support for at least
  792 + If IDE or SCSI support is enabled (CONFIG_CMD_IDE or
  793 + CONFIG_CMD_SCSI) you must configure support for at least
801 794 one partition type as well.
802 795  
803 796 - IDE Reset method:
... ... @@ -907,8 +900,8 @@
907 900 enable this define CONFIG_MMC. The MMC can be
908 901 accessed from the boot prompt by mapping the device
909 902 to physical memory similar to flash. Command line is
910   - enabled with CFG_CMD_MMC. The MMC driver also works with
911   - the FAT fs. This is enabled with CFG_CMD_FAT.
  903 + enabled with CONFIG_CMD_MMC. The MMC driver also works with
  904 + the FAT fs. This is enabled with CONFIG_CMD_FAT.
912 905  
913 906 - Journaling Flash filesystem support:
914 907 CONFIG_JFFS2_NAND, CONFIG_JFFS2_NAND_OFF, CONFIG_JFFS2_NAND_SIZE,
... ... @@ -1220,7 +1213,7 @@
1220 1213 include the appropriate I2C driver for the selected cpu.
1221 1214  
1222 1215 This will allow you to use i2c commands at the u-boot
1223   - command line (as long as you set CFG_CMD_I2C in
  1216 + command line (as long as you set CONFIG_CMD_I2C in
1224 1217 CONFIG_COMMANDS) and communicate with i2c based realtime
1225 1218 clock chips. See common/cmd_i2c.c for a description of the
1226 1219 command line interface.
... ... @@ -2328,7 +2321,7 @@
2328 2321  
2329 2322 - CONFIG_LOOPW
2330 2323 Add the "loopw" memory command. This only takes effect if
2331   - the memory commands are activated globally (CFG_CMD_MEM).
  2324 + the memory commands are activated globally (CONFIG_CMD_MEM).
2332 2325  
2333 2326 - CONFIG_MX_CYCLIC
2334 2327 Add the "mdc" and "mwc" memory commands. These are cyclic
... ... @@ -2342,7 +2335,7 @@
2342 2335 This command will write 12345678 to address 100 all 10 ms.
2343 2336  
2344 2337 This only takes effect if the memory commands are activated
2345   - globally (CFG_CMD_MEM).
  2338 + globally (CONFIG_CMD_MEM).
2346 2339  
2347 2340 - CONFIG_SKIP_LOWLEVEL_INIT
2348 2341 - CONFIG_SKIP_RELOCATE_UBOOT