mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
Finally retire cmd_confdefs.h and CONFIG_BOOTP_MASK!
All of the choices for CONFIG_BOOTP_ are now documented in the README file. You must now individually select exactly the set that you want using a series of #define CONFIG_BOOTP_<x> statements in the board port config files now. Signed-off-by: Jon Loeliger <jdl@freescale.com>
This commit is contained in:
parent
d3b8c1a743
commit
1fe80d79c5
7 changed files with 50 additions and 114 deletions
|
@ -128,7 +128,7 @@ static void netboot_update_env (void)
|
|||
ip_to_string (NetOurDNSIP, tmp);
|
||||
setenv ("dnsip", tmp);
|
||||
}
|
||||
#if (CONFIG_BOOTP_MASK & CONFIG_BOOTP_DNS2)
|
||||
#if defined(CONFIG_BOOTP_DNS2)
|
||||
if (NetOurDNS2IP) {
|
||||
ip_to_string (NetOurDNS2IP, tmp);
|
||||
setenv ("dnsip2", tmp);
|
||||
|
@ -138,14 +138,14 @@ static void netboot_update_env (void)
|
|||
setenv ("domain", NetOurNISDomain);
|
||||
|
||||
#if defined(CONFIG_CMD_SNTP) \
|
||||
&& (CONFIG_BOOTP_MASK & CONFIG_BOOTP_TIMEOFFSET)
|
||||
&& defined(CONFIG_BOOTP_TIMEOFFSET)
|
||||
if (NetTimeOffset) {
|
||||
sprintf (tmp, "%d", NetTimeOffset);
|
||||
setenv ("timeoffset", tmp);
|
||||
}
|
||||
#endif
|
||||
#if defined(CONFIG_CMD_SNTP) \
|
||||
&& (CONFIG_BOOTP_MASK & CONFIG_BOOTP_NTPSERVER)
|
||||
&& defined(CONFIG_BOOTP_NTPSERVER)
|
||||
if (NetNtpServerIP) {
|
||||
ip_to_string (NetNtpServerIP, tmp);
|
||||
setenv ("ntpserverip", tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue