]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - net/Kconfig
Convert CONFIG_BOOTP_BOOTPATH et al to Kconfig
[people/ms/u-boot.git] / net / Kconfig
index a44a783cae239e54cd572149024f8c84743d726c..184b7c15d460a7a4455c2e01398b519798bf3393 100644 (file)
@@ -9,7 +9,6 @@ if NET
 
 config NET_RANDOM_ETHADDR
        bool "Random ethaddr if unset"
-       select LIB_RAND
        help
          Selecting this will allow the Ethernet interface to function
          even when the ethaddr variable for that interface is unset.
@@ -32,4 +31,35 @@ config NET_TFTP_VARS
          If unset, timeout and maximum are hard-defined as 1 second
          and 10 timouts per TFTP transfer.
 
+config BOOTP_BOOTPATH
+       bool "Enable BOOTP BOOTPATH"
+
+config BOOTP_DNS
+       bool "Enable bootp DNS"
+
+config BOOTP_GATEWAY
+       bool "Enable BOOTP gateway"
+
+config BOOTP_HOSTNAME
+       bool "Enable BOOTP hostname"
+
+config BOOTP_PXE
+       bool "Enable BOOTP PXE"
+
+config BOOTP_SUBNETMASK
+       bool "Enable BOOTP subnetmask"
+
+config BOOTP_PXE_CLIENTARCH
+       hex
+        default 0x16 if ARM64
+        default 0x15 if ARM
+        default 0 if X86
+
+config BOOTP_VCI_STRING
+       string
+       default "U-Boot.armv7" if CPU_V7 || CPU_V7M
+       default "U-Boot.armv8" if ARM64
+       default "U-Boot.arm" if ARM
+       default "U-Boot"
+
 endif   # if NET