commit | 4a9b413108f4bd274973398356b45c0346238bc9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Oct 14 13:25:18 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Sun Oct 23 23:32:45 2011 +0200 |
tree | dae25295771bffb5d81b5bfb84d3dba5d1cd7e94 | |
parent | 3668d8fa0417a3082aa57dd5e0db8fbe887c31e0 [diff] |
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>