summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-12-11 22:16:27 -0600
committerTom Rini <trini@ti.com>2012-12-13 11:46:55 -0700
commit32057717e06a4e703fdf3774671cea14554de76b (patch)
tree52a4eb274e95517ead7622ce63f26ca7753f2018 /include
parenta9f51c9b4315f699e7185c85d1d09d2d7819a4eb (diff)
downloadtalos-obmc-uboot-32057717e06a4e703fdf3774671cea14554de76b.tar.gz
talos-obmc-uboot-32057717e06a4e703fdf3774671cea14554de76b.zip
env: Add a baudrate env handler
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include')
-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 bce01362ce..2f5048fa49 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," \
+ "baudrate:baudrate," \
"bootfile:bootfile," \
CONFIG_ENV_CALLBACK_LIST_STATIC
OpenPOWER on IntegriCloud