summaryrefslogtreecommitdiff
path: root/lib/sha1.c
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2024-10-03 23:27:58 +0200
committerStefan Roese <[email protected]>2024-10-23 06:52:38 +0200
commited8a807df87eae2f3c1a41f9b2d4b3e0191648db (patch)
tree2d7776fcfab16fe4ad872de213488d375b750c17 /lib/sha1.c
parentbd665754894ffe4ea01e43f4fc5d3ef4cba1689d (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'lib/sha1.c')
-rw-r--r--lib/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sha1.c b/lib/sha1.c
index 81412283b49..a9d6497c4ce 100644
--- a/lib/sha1.c
+++ b/lib/sha1.c
@@ -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>