cpu/ non-mpc*: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:03:15 +0000 (19:03 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:34:13 +0000 (00:34 +0200)
commit737184114ec9c9e0ab94d6713536126073bd2472
tree5de22358151a2e460d025298a462b704ee522976
parentf48070fe5fe440dfb5ee5268c920de70e48ea327
cpu/ non-mpc*: 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>
23 files changed:
cpu/74xx_7xx/kgdb.S
cpu/74xx_7xx/traps.c
cpu/arm920t/at91rm9200/bcm5221.c
cpu/arm920t/at91rm9200/dm9161.c
cpu/arm920t/at91rm9200/ether.c
cpu/arm920t/at91rm9200/lxt972.c
cpu/i386/serial.c
cpu/ixp/cpu.c
cpu/ixp/npe/npe.c
cpu/mcf52x2/fec.c
cpu/microblaze/cache.c
cpu/microblaze/interrupts.c
cpu/mips/au1x00_eth.c
cpu/nios/interrupts.c
cpu/nios2/interrupts.c
cpu/ppc4xx/4xx_enet.c
cpu/ppc4xx/bedbug_405.c
cpu/ppc4xx/interrupts.c
cpu/ppc4xx/kgdb.S
cpu/ppc4xx/ndfc.c
cpu/ppc4xx/serial.c
cpu/ppc4xx/traps.c
cpu/ppc4xx/usbdev.c