diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-12 00:03:08 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-03 22:23:18 (GMT) |
commit | f48070fe5fe440dfb5ee5268c920de70e48ea327 (patch) | |
tree | 0ba72bc0553776081d61bd5de50e885ef5617cc8 /cpu/mpc5xxx/interrupts.c | |
parent | 0c505db0a0dc1f670b13ce3b4d3fbf1ec5b3cbd2 (diff) | |
download | u-boot-fsl-qoriq-f48070fe5fe440dfb5ee5268c920de70e48ea327.tar.xz |
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>
Diffstat (limited to 'cpu/mpc5xxx/interrupts.c')
-rw-r--r-- | cpu/mpc5xxx/interrupts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc5xxx/interrupts.c b/cpu/mpc5xxx/interrupts.c index beeb222..4b414ea 100644 --- a/cpu/mpc5xxx/interrupts.c +++ b/cpu/mpc5xxx/interrupts.c @@ -310,7 +310,7 @@ void irq_free_handler(int irq) /****************************************************************************/ -#if (CONFIG_COMMANDS & CFG_CMD_IRQ) +#if (CONFIG_COMMANDS & CFG_CMD_IRQ) || defined(CONFIG_CMD_IRQ) void do_irqinfo(cmd_tbl_t * cmdtp, bd_t * bd, int flag, int argc, char *argv[]) { int irq, re_enable; |