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>
This commit is contained in:
12
net/Kconfig
12
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
|
||||
|
||||
Reference in New Issue
Block a user