diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-12 00:03:15 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-03 22:34:13 (GMT) |
commit | 737184114ec9c9e0ab94d6713536126073bd2472 (patch) | |
tree | 5de22358151a2e460d025298a462b704ee522976 /cpu/ixp/npe | |
parent | f48070fe5fe440dfb5ee5268c920de70e48ea327 (diff) | |
download | u-boot-737184114ec9c9e0ab94d6713536126073bd2472.tar.xz |
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/ixp/npe')
-rw-r--r-- | cpu/ixp/npe/npe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/ixp/npe/npe.c b/cpu/ixp/npe/npe.c index ab7ca8b..57a707b 100644 --- a/cpu/ixp/npe/npe.c +++ b/cpu/ixp/npe/npe.c @@ -682,7 +682,7 @@ int npe_initialize(bd_t * bis) eth_register(dev); -#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) +#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII) || defined(CONFIG_CMD_MII) miiphy_register(dev->name, npe_miiphy_read, npe_miiphy_write); #endif |