[PATCH 1/7] usb-a926x: update DHCP vendor ID

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Apr 10 04:42:18 EDT 2012


Depending on machine id.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 arch/arm/boards/usb-a926x/env/config |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/usb-a926x/env/config b/arch/arm/boards/usb-a926x/env/config
index 1f72803..d073620 100644
--- a/arch/arm/boards/usb-a926x/env/config
+++ b/arch/arm/boards/usb-a926x/env/config
@@ -3,7 +3,9 @@
 # use 'dhcp' to do dhcp in barebox and in kernel
 # use 'none' if you want to skip kernel ip autoconfiguration
 ip=dhcp-barebox
-dhcp_vendor_id=barebox-at91sam9x5ek
+[ x$armlinux_architecture = x1709 ] && dhcp_vendor_id=barebox-usb-a9260
+[ x$armlinux_architecture = x1710 ] && dhcp_vendor_id=barebox-usb-a9263
+[ x$armlinux_architecture = x1841 ] && dhcp_vendor_id=barebox-usb-a9g20
 
 # or set your networking parameters here
 #eth0.ipaddr=a.b.c.d
-- 
1.7.9.1




More information about the barebox mailing list