]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib/sha*: include u-boot/schedule.h instead of cyclic.h
authorRasmus Villemoes <ravi@prevas.dk>
Thu, 3 Oct 2024 21:27:58 +0000 (23:27 +0200)
committerStefan Roese <sr@denx.de>
Wed, 23 Oct 2024 04:52:38 +0000 (06:52 +0200)
commited8a807df87eae2f3c1a41f9b2d4b3e0191648db
tree2d7776fcfab16fe4ad872de213488d375b750c17
parentbd665754894ffe4ea01e43f4fc5d3ef4cba1689d
lib/sha*: include u-boot/schedule.h instead of cyclic.h

These library routines obviously do not make use of the
cyclic_register() etc. API, but do need to call schedule(). Include
the proper header.

Eventually, their ifdef logic should be updated to avoid talking about
CONFIG_WATCHDOG.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
lib/sha1.c
lib/sha256.c
lib/sha512.c