1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

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>
This commit is contained in:
Joe Hershberger
2012-12-11 22:16:26 -06:00
committed by Tom Rini
parent 5e2b3e0c59
commit a9f51c9b43
3 changed files with 18 additions and 9 deletions

View File

@@ -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 {