diff mbox

[U-Boot,v2,4/7] net: Fix client identifiers for ARM

Message ID 1462561267-92773-5-git-send-email-agraf@suse.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Alexander Graf May 6, 2016, 7:01 p.m. UTC
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>
---
 net/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini May 6, 2016, 7:28 p.m. UTC | #1
On Fri, May 06, 2016 at 09:01:04PM +0200, Alexander Graf wrote:

> 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>
Tom Rini May 30, 2016, 5:56 p.m. UTC | #2
On Fri, May 06, 2016 at 09:01:04PM +0200, Alexander Graf wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/net/Kconfig b/net/Kconfig
index 64fd0f9..414c549 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -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