Re: [PATCH v5 06/29] hash: Drop some #ifdefs in hash.c

Tom Rini
2021-10-09T01:42:50Z

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

On Sat, Sep 25, 2021 at 07:43:19PM -0600, Simon Glass wrote:

> 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: Simon Glass <sjg@chromium.org>
> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>

Applied to u-boot/master, thanks!

--
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]