Skip to content
Commit d54f7e3f authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

hash: Drop some #ifdefs in hash.c



We can use the __maybe_unused attribute to avoid some of the #ifdefs in
this file. Update the functions accordingly.

Note: The actual hashing interface is still a mess, with four separate
combinations and lots of #ifdefs. This should really use a driver
approach, e.g. as is done with partition drivers.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAlexandru Gagniuc <mr.nuke.me@gmail.com>
parent 2c21256b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment