]> git.sur5r.net Git - u-boot/commit
Add getenv_ulong() to read an integer from an environment variable
authorSimon Glass <sjg@chromium.org>
Fri, 14 Oct 2011 13:25:18 +0000 (13:25 +0000)
committerWolfgang Denk <wd@denx.de>
Sun, 23 Oct 2011 21:32:45 +0000 (23:32 +0200)
commit4a9b413108f4bd274973398356b45c0346238bc9
treedae25295771bffb5d81b5bfb84d3dba5d1cd7e94
parent3668d8fa0417a3082aa57dd5e0db8fbe887c31e0
Add getenv_ulong() to read an integer from an environment variable

This is not an uncommon operation in U-Boot, so let's put it in a common
function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_nvedit.c
include/common.h