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>
This commit is contained in:
Rasmus Villemoes 2024-10-03 23:27:58 +02:00 committed by Stefan Roese
parent bd66575489
commit ed8a807df8
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@
#endif
#ifndef USE_HOSTCC
#include <cyclic.h>
#include <u-boot/schedule.h>
#endif /* USE_HOSTCC */
#include <string.h>
#include <u-boot/sha1.h>

View file

@ -6,7 +6,7 @@
*/
#ifndef USE_HOSTCC
#include <cyclic.h>
#include <u-boot/schedule.h>
#endif /* USE_HOSTCC */
#include <string.h>
#include <u-boot/sha256.h>

View file

@ -11,7 +11,7 @@
*/
#ifndef USE_HOSTCC
#include <cyclic.h>
#include <u-boot/schedule.h>
#endif /* USE_HOSTCC */
#include <compiler.h>
#include <u-boot/sha512.h>