[PATCH 4/7] tny-a926x: update DHCP vendor ID

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


Depending on machine id.

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

diff --git a/arch/arm/boards/tny-a926x/env/config b/arch/arm/boards/tny-a926x/env/config
index b5215dc..fa1f626 100644
--- a/arch/arm/boards/tny-a926x/env/config
+++ b/arch/arm/boards/tny-a926x/env/config
@@ -3,6 +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
+[ x$armlinux_architecture = x2058 ] && dhcp_vendor_id=barebox-tny-a9260
+[ x$armlinux_architecture = x2059 ] && dhcp_vendor_id=barebox-tny-a9g20
+[ x$armlinux_architecture = x2140 ] && dhcp_vendor_id=barebox-tny-a9263
 
 # or set your networking parameters here
 #eth0.ipaddr=a.b.c.d
-- 
1.7.9.1




More information about the barebox mailing list