diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:03:15 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:34:13 +0200 |
commit | 737184114ec9c9e0ab94d6713536126073bd2472 (patch) | |
tree | 5de22358151a2e460d025298a462b704ee522976 /cpu/microblaze | |
parent | f48070fe5fe440dfb5ee5268c920de70e48ea327 (diff) | |
download | u-boot-737184114ec9c9e0ab94d6713536126073bd2472.zip u-boot-737184114ec9c9e0ab94d6713536126073bd2472.tar.gz u-boot-737184114ec9c9e0ab94d6713536126073bd2472.tar.bz2 |
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>
Diffstat (limited to 'cpu/microblaze')
-rwxr-xr-x | cpu/microblaze/cache.c | 2 | ||||
-rwxr-xr-x | cpu/microblaze/interrupts.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpu/microblaze/cache.c b/cpu/microblaze/cache.c index 4f36a84..2921551 100755 --- a/cpu/microblaze/cache.c +++ b/cpu/microblaze/cache.c @@ -25,7 +25,7 @@ #include <common.h> #include <asm/asm.h> -#if (CONFIG_COMMANDS & CFG_CMD_CACHE) +#if (CONFIG_COMMANDS & CFG_CMD_CACHE) || defined(CONFIG_CMD_CACHE) int dcache_status (void) { diff --git a/cpu/microblaze/interrupts.c b/cpu/microblaze/interrupts.c index b61153f..b97465a 100755 --- a/cpu/microblaze/interrupts.c +++ b/cpu/microblaze/interrupts.c @@ -190,7 +190,7 @@ void interrupt_handler (void) } #endif -#if (CONFIG_COMMANDS & CFG_CMD_IRQ) +#if (CONFIG_COMMANDS & CFG_CMD_IRQ) || defined(CONFIG_CMD_IRQ) #ifdef CFG_INTC_0 int do_irqinfo (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) { |