mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: getenv helpers
Date: Fri, 27 Sep 2013 08:30:00 +0200	[thread overview]
Message-ID: <1380263404-23104-1-git-send-email-s.hauer@pengutronix.de> (raw)

This introduces some helpers for getting int values from enironment
variables and uses them where appropriate.

Sascha

----------------------------------------------------------------
Sascha Hauer (4):
      environment variables: introduce new helpers
      loads: use getenv_bool for 'loads_echo'
      bootm: Replace getenv_loadaddr with getenv_ul
      dhcp: replace dhcp_getenv_int with getenv_uint

 arch/arm/lib/armlinux.c | 29 +++++---------------
 commands/bootm.c        |  4 +--
 commands/loads.c        |  7 +----
 common/env.c            | 71 +++++++++++++++++++++++++++++++++++++++++++++----
 include/environment.h   | 31 ++++++++++++++++++---
 net/dhcp.c              | 12 +--------
 6 files changed, 104 insertions(+), 50 deletions(-)


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

             reply	other threads:[~2013-09-27  6:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  6:30 Sascha Hauer [this message]
2013-09-27  6:30 ` [PATCH 1/4] environment variables: introduce new helpers Sascha Hauer
2013-09-27  6:30 ` [PATCH 2/4] loads: use getenv_bool for 'loads_echo' Sascha Hauer
2013-09-27  6:30 ` [PATCH 3/4] bootm: Replace getenv_loadaddr with getenv_ul Sascha Hauer
2013-09-27  6:30 ` [PATCH 4/4] dhcp: replace dhcp_getenv_int with getenv_uint Sascha Hauer

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=1380263404-23104-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --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