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

Tom Rini trini at konsulko.com
Sat Oct 9 03:39:50 CEST 2021


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

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211008/655b55e0/attachment.sig>


More information about the U-Boot mailing list