mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/7] tny-a926x: update DHCP vendor ID
Date: Tue, 10 Apr 2012 10:42:21 +0200	[thread overview]
Message-ID: <1334047344-8533-4-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <20120410082259.GH29577@game.jcrosoft.org>

Depending on machine id.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2012-04-10  8:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-10  8:22 [PATCH 0/7] Calao Board oftree && MMU support Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` [PATCH 1/7] usb-a926x: update DHCP vendor ID Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` [PATCH 2/7] usb-a926x: add oftree support Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` [PATCH 3/7] usb-a926x: enable MMU Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-04-10  8:42 ` [PATCH 5/7] tny-a926x: udpate defconfig Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` [PATCH 6/7] tny-a926x: add oftree config support Jean-Christophe PLAGNIOL-VILLARD
2012-04-10  8:42 ` [PATCH 7/7] tny-a926x: enable MMU Jean-Christophe PLAGNIOL-VILLARD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334047344-8533-4-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox