Convert CONFIG_BOOTP_MAY_FAIL et al to Kconfig
[platform/kernel/u-boot.git] / cmd / Kconfig
index dd7ab8d..d10deed 100644 (file)
@@ -1485,6 +1485,15 @@ config CMD_DHCP
        help
          Boot image via network using DHCP/TFTP protocol
 
+config BOOTP_MAY_FAIL
+       bool "Allow for the BOOTP/DHCP server to not be found"
+       depends on CMD_BOOTP
+       help
+         If the DHCP server is not found after the configured retry count, the
+         call will fail instead of starting over.  This can be used to fail
+         over to Link-local IP address configuration if the DHCP server is not
+         available.
+
 config BOOTP_BOOTPATH
        bool "Request & store 'rootpath' from BOOTP/DHCP server"
        default y
@@ -1493,6 +1502,14 @@ config BOOTP_BOOTPATH
          Even though the config is called BOOTP_BOOTPATH, it stores the
          path in the variable 'rootpath'.
 
+config BOOTP_VENDOREX
+       bool "Support vendor extensions from BOOTP/DHCP server"
+       depends on CMD_BOOTP
+
+config BOOTP_BOOTFILESIZE
+       bool "Request & store 'bootfilesize' from BOOTP/DHCP server"
+       depends on CMD_BOOTP
+
 config BOOTP_DNS
        bool "Request & store 'dnsip' from BOOTP/DHCP server"
        default y
@@ -1540,10 +1557,18 @@ config BOOTP_SUBNETMASK
        default y
        depends on CMD_BOOTP
 
+config BOOTP_NISDOMAIN
+       bool "Request & store 'nisdomain' from BOOTP/DHCP server"
+       depends on CMD_BOOTP
+
 config BOOTP_NTPSERVER
        bool "Request & store 'ntpserverip' from BOOTP/DHCP server"
        depends on CMD_BOOTP
 
+config BOOTP_TIMEOFFSET
+       bool "Request & store 'timeoffset' from BOOTP/DHCP server"
+       depends on CMD_BOOTP && CMD_SNTP
+
 config CMD_PCAP
        bool "pcap capture"
        help
@@ -1827,12 +1852,13 @@ config CMD_SLEEP
        help
          Delay execution for some time
 
-config MP
-       bool "support for multiprocessor"
+config CMD_MP
+       bool "support for multiprocessor commands"
+       depends on MP
+       default y
        help
-         This provides an option to brinup
-         different processors in multiprocessor
-         cases.
+         This enables commands to bringup different processors
+         in multiprocessor cases.
 
 config CMD_TIMER
        bool "timer"
@@ -2324,13 +2350,6 @@ endmenu
 
 menu "Debug commands"
 
-config CMD_BEDBUG
-       bool "bedbug"
-       help
-         The bedbug (emBEDded deBUGger) command provides debugging features
-         for some PowerPC processors. For details please see the
-         documentation in doc/README.bedbug.
-
 config CMD_CBSYSINFO
        bool "cbsysinfo"
        depends on X86