env: Add a loadaddr env handler

Remove the hard-coded loadaddr handler and use a callback instead

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Joe Hershberger
2012-12-11 22:16:28 -06:00
committed by Tom Rini
parent 32057717e0
commit 1cf0a8b2fb
3 changed files with 22 additions and 12 deletions

View File

@ -41,6 +41,7 @@
#define ENV_CALLBACK_LIST_STATIC ENV_CALLBACK_VAR ":callbacks," \
"baudrate:baudrate," \
"bootfile:bootfile," \
"loadaddr:loadaddr," \
CONFIG_ENV_CALLBACK_LIST_STATIC
struct env_clbk_tbl {