[U-Boot] [PATCH v2] api: Use hashtable function for API_env_enum

Simon Glass sjg at chromium.org
Thu Jan 12 06:07:35 CET 2017


On 26 December 2016 at 10:57, Emmanuel Vadot <manu at bidouilliste.com> wrote:
> 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 at bidouilliste.com>
> ---
> Changes in v2:
>  * Explain why the change is needed.
>
>  api/api.c | 60 +++++++++++++++++++++++++++++++-----------------------------
>  1 file changed, 31 insertions(+), 29 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list