]> git.sur5r.net Git - u-boot/commitdiff
net: Fix client identifiers for ARM
authorAlexander Graf <agraf@suse.de>
Fri, 6 May 2016 19:01:04 +0000 (21:01 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 27 May 2016 19:37:16 +0000 (15:37 -0400)
There are client identifiers specifically reserved for ARM U-Boot
according to http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture.

So let's actually make use of them rather than the bogus 0x100 that
we emitted so far.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Drop the Xilinx define to 0x100 as it's not the correct value to
use].
Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/xilinx_zynqmp.h
net/Kconfig

index b2fa164f6522b578e7932f241d1f0b98a6354797..ffb6b34d57cec9b9673f8b9f6bd7bf8ab33b3e81 100644 (file)
@@ -80,7 +80,6 @@
 #define CONFIG_BOOTP_DNS
 #define CONFIG_BOOTP_PXE
 #define CONFIG_BOOTP_SUBNETMASK
-#define CONFIG_BOOTP_PXE_CLIENTARCH     0x100
 
 /* Diff from config_distro_defaults.h */
 #define CONFIG_SUPPORT_RAW_INITRD
index 64fd0f94bf45dd4f921f5e5dc145a060044717b2..414c5497c7584ea78dfd4696c4c6b42c3640292b 100644 (file)
@@ -34,7 +34,8 @@ config NET_TFTP_VARS
 
 config BOOTP_PXE_CLIENTARCH
        hex
-        default 0x100 if ARM
+        default 0x16 if ARM64
+        default 0x15 if ARM
         default 0 if X86
 
 config BOOTP_VCI_STRING