diff options
author | Jon Loeliger <jdl@jdl.com> | 2007-06-11 19:02:49 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-07-04 00:23:14 +0200 |
commit | 6e2115acb6a892d53a6881bf253ae41d3df39156 (patch) | |
tree | 0e172685b76a40bf48460793dec4f67c55768115 /net/bootp.h | |
parent | 45cdb9b72c94655c7308b464a2666057c0b286e0 (diff) | |
download | u-boot-6e2115acb6a892d53a6881bf253ae41d3df39156.tar.gz u-boot-6e2115acb6a892d53a6881bf253ae41d3df39156.tar.bz2 u-boot-6e2115acb6a892d53a6881bf253ae41d3df39156.zip |
net/: 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 'net/bootp.h')
-rw-r--r-- | net/bootp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.h b/net/bootp.h index 0b3163901e..8e52aec726 100644 --- a/net/bootp.h +++ b/net/bootp.h @@ -18,7 +18,7 @@ /* * BOOTP header. */ -#if (CONFIG_COMMANDS & CFG_CMD_DHCP) +#if (CONFIG_COMMANDS & CFG_CMD_DHCP) || defined(CONFIG_CMD_DHCP) #define OPT_SIZE 312 /* Minimum DHCP Options size per RFC2131 - results in 576 byte pkt */ #else #define OPT_SIZE 64 |