getenv helpers

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 27 02:30:00 EDT 2013


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




More information about the barebox mailing list