Skip to content
Snippets Groups Projects
Commit 218da0f3 authored by Simon Glass's avatar Simon Glass
Browse files

hash: Use lower case for hash algorithm names


Rather than use strcasecmp() in the hash algorithm search, require the
caller to do this first. Most of U-Boot can use lower case anyway, and
the hash command can convert to lower case before calling hash_command().
This saves needing strcasecmp() for boards that use hashing but not
the hash command.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent bd091b67
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment