One cannot use sha256.h by itself - the includer must already have made sure that uint32_t and friends are defined; i.e., having included linux/types.h either directly or indirectly. That's a little annoying, so just make the header self-contained.
Signed-off-by: Rasmus Villemoes <rasmus.villem...@prevas.dk> --- include/u-boot/sha256.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/u-boot/sha256.h b/include/u-boot/sha256.h index 10f42091ee..9e16b9715e 100644 --- a/include/u-boot/sha256.h +++ b/include/u-boot/sha256.h @@ -1,6 +1,8 @@ #ifndef _SHA256_H #define _SHA256_H +#include <linux/types.h> + #define SHA256_SUM_LEN 32 #define SHA256_DER_LEN 19 -- 2.20.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot