summaryrefslogtreecommitdiff
path: root/net/Kconfig
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-05-06 21:01:03 +0200
committerTom Rini <trini@konsulko.com>2016-05-27 10:01:12 -0400
commit0dac6b4e850cdd934f9b04cecc79fc395127ab29 (patch)
tree0cf56fdbab7a87f426f5f9e558f8a30467f6704d /net/Kconfig
parent4570a993d5f330ab05081f7b1070da9bcde9289e (diff)
downloadu-boot-imx-0dac6b4e850cdd934f9b04cecc79fc395127ab29.zip
u-boot-imx-0dac6b4e850cdd934f9b04cecc79fc395127ab29.tar.gz
u-boot-imx-0dac6b4e850cdd934f9b04cecc79fc395127ab29.tar.bz2
net: Move the VCI and client arch values to Kconfig
We have a bunch of boards that define their vendor class identifier and client archs in the board files or in the distro config. Move everything to the generic Kconfig options. We're missing the distinction between i386 and x86_64, as I couldn't find any config variable that would tell us the difference. Is that really important to people? I guess not, so I left it out. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net/Kconfig')
-rw-r--r--net/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig
index a44a783..64fd0f9 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -32,4 +32,16 @@ config NET_TFTP_VARS
If unset, timeout and maximum are hard-defined as 1 second
and 10 timouts per TFTP transfer.
+config BOOTP_PXE_CLIENTARCH
+ hex
+ default 0x100 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