cpu/mpc*/ : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).
authorJon Loeliger <jdl@jdl.com>
Tue, 12 Jun 2007 00:03:08 +0000 (19:03 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 3 Jul 2007 22:23:18 +0000 (00:23 +0200)
commitf48070fe5fe440dfb5ee5268c920de70e48ea327
tree0ba72bc0553776081d61bd5de50e885ef5617cc8
parent0c505db0a0dc1f670b13ce3b4d3fbf1ec5b3cbd2
cpu/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>
28 files changed:
cpu/mpc5xx/interrupts.c
cpu/mpc5xx/traps.c
cpu/mpc5xxx/cpu_init.c
cpu/mpc5xxx/fec.c
cpu/mpc5xxx/interrupts.c
cpu/mpc5xxx/traps.c
cpu/mpc8220/cpu_init.c
cpu/mpc8220/fec.c
cpu/mpc8220/traps.c
cpu/mpc824x/traps.c
cpu/mpc8260/bedbug_603e.c
cpu/mpc8260/ether_fcc.c
cpu/mpc8260/ether_scc.c
cpu/mpc8260/interrupts.c
cpu/mpc8260/kgdb.S
cpu/mpc8260/traps.c
cpu/mpc83xx/interrupts.c
cpu/mpc83xx/traps.c
cpu/mpc85xx/ether_fcc.c
cpu/mpc85xx/interrupts.c
cpu/mpc85xx/traps.c
cpu/mpc86xx/traps.c
cpu/mpc8xx/bedbug_860.c
cpu/mpc8xx/fec.c
cpu/mpc8xx/kgdb.S
cpu/mpc8xx/scc.c
cpu/mpc8xx/serial.c
cpu/mpc8xx/traps.c