commit | e22a6fc2438a11dc65b16f1b504950dd734aef76 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Feb 24 17:33:32 2013 +0000 |
committer | Simon Glass <sjg@chromium.org> | Thu Feb 28 19:49:13 2013 -0800 |
tree | 0601a777e77d4c582882426e5aefcd3541032be5 | |
parent | 68f15567d03a8435b8cbce8c7cd6df76eedd830d [diff] |
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: Simon Glass <sjg@chromium.org>