summaryrefslogtreecommitdiff
path: root/env/nand.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/nand.c')
-rw-r--r--env/nand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/nand.c b/env/nand.c
index e631bf2fda..8b0027d304 100644
--- a/env/nand.c
+++ b/env/nand.c
@@ -23,6 +23,7 @@
#include <nand.h>
#include <search.h>
#include <errno.h>
+#include <u-boot/crc.h>
#if defined(CONFIG_CMD_SAVEENV) && defined(CONFIG_CMD_NAND) && \
!defined(CONFIG_SPL_BUILD)