DHCP and DHCPv6 use the same value defined in https://www.iana.org/assignments/dhcpv6-parameters#processor-architecture to encode the processor architecture type. We should only use a single Kconfig symbol for both protocols.
Furthermore we should make the value customizable. This allows for instance to choose between "x86 BIOS" or "x64 UEFI". As "x86 BIOS" is encoded as 0, we should not use this value to switch off transmission of the DHCP option. Use 0xFF instead. Add a missing include for verdin-am62p. v2: drop change in board/toradex/verdin-am62p/verdin-am62p.c Heinrich Schuchardt (3): verdin-am62p: include linux/sizes.h cmd: remove duplicate DHCPv6 Kconfig definitions net: consolidate PXE processor architecture type Kconfig cmd/Kconfig | 45 ++++++++++++---------------------- include/configs/verdin-am62p.h | 2 ++ net/bootp.c | 6 ++--- net/dhcpv6.c | 6 ++--- 4 files changed, 24 insertions(+), 35 deletions(-) -- 2.48.1