[PATCH 3/3] net: consolidate PXE processor architecture type Kconfig

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Jun 7 14:03:00 CEST 2025


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.

Fix missing declarations when bulding verdin-am62p_defconfig.

Heinrich Schuchardt (3):
  verdin-am62p: include linux/sizes.h
  cmd: remove duplicate DHCPv6 Kconfig definitions
  net: consolidate PXE processor architecture type Kconfig

 board/toradex/verdin-am62p/verdin-am62p.c |  1 +
 cmd/Kconfig                               | 45 ++++++++---------------
 include/configs/verdin-am62p.h            |  2 +
 net/bootp.c                               |  6 +--
 net/dhcpv6.c                              |  6 +--
 5 files changed, 25 insertions(+), 35 deletions(-)

-- 
2.48.1



More information about the U-Boot mailing list