]> git.sur5r.net Git - u-boot/commit
common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:01:43 +0000 (19:01 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:08 +0000 (00:23 +0200)
commita76adc8142c1d956385a109e0b70f9319ede4d66
treeaf5cd7bc45acf37dbcb217a42523c66e05a811c7
parentec63b10b61fd68238d4c15c1cd04c0b38228e2c1
common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).

This is a compatibility step that allows both the older form
and the new form to co-exist for a while until the older can
be removed entirely.

All transformations are of the form:
Before:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT)
After:
    #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT)

Signed-off-by: Jon Loeliger <jdl@freescale.com>
21 files changed:
common/cmd_autoscript.c
common/cmd_bdinfo.c
common/cmd_bedbug.c
common/cmd_bmp.c
common/cmd_bootm.c
common/cmd_cache.c
common/cmd_console.c
common/cmd_date.c
common/cmd_dcr.c
common/cmd_diag.c
common/cmd_display.c
common/cmd_doc.c
common/cmd_dtt.c
common/cmd_eeprom.c
common/cmd_elf.c
common/cmd_ext2.c
common/cmd_fat.c
common/cmd_fdc.c
common/cmd_fdos.c
common/cmd_flash.c
common/cmd_fpga.c