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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox