commit | c4971b99ad523d8642e856bed2073febb0756202 | [log] [tgz] |
---|---|---|
author | Emmanuel Vadot <manu@bidouilliste.com> | Mon Dec 26 18:57:56 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 20 09:15:24 2017 -0500 |
tree | 9ce8f69f433d1a41ab71d0ea858f93cacc3e1edb | |
parent | ed6481ecee27a088240cbc98068868906eaecddb [diff] |
api: Use hashtable function for API_env_enum The current code can loop undefinitly as it doesn't parse correctly the env data. Since the env is an hashtable, use the hashtable function for the API_ENV_ENUM api call. Signed-off-by: Emmanuel Vadot <manu@bidouilliste.com> Reviewed-by: Simon Glass <sjg@chromium.org>