mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-15 17:34:43 +00:00
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:
parent
bd66575489
commit
ed8a807df8
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue