summaryrefslogtreecommitdiff
path: root/include/env_callback.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-12-11 22:16:26 -0600
committerTom Rini <trini@ti.com>2012-12-13 11:46:55 -0700
commita9f51c9b4315f699e7185c85d1d09d2d7819a4eb (patch)
treea4ed6c3085eea661f229595001ce6c3d710fbf68 /include/env_callback.h
parent5e2b3e0c59df3313254941b453ffeadba9e673ae (diff)
downloadu-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.zip
u-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.tar.gz
u-boot-imx-a9f51c9b4315f699e7185c85d1d09d2d7819a4eb.tar.bz2
env: Add a bootfile env handler
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/env_callback.h')
-rw-r--r--include/env_callback.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/env_callback.h b/include/env_callback.h
index 5a460f3..bce0136 100644
--- a/include/env_callback.h
+++ b/include/env_callback.h
@@ -39,6 +39,7 @@
* a new association in the ".callbacks" environment variable.
*/
#define ENV_CALLBACK_LIST_STATIC ENV_CALLBACK_VAR ":callbacks," \
+ "bootfile:bootfile," \
CONFIG_ENV_CALLBACK_LIST_STATIC
struct env_clbk_tbl {