[PATCH 1/4] cmd: sys_eeprom: add missing implicit header

Joel Johnson
2020-01-19T07:10:47Z

This addresses the following compiler warning:

../cmd/sys_eeprom.c: In function ‘is_checksum_valid’:
../cmd/sys_eeprom.c:96:13: warning: implicit declaration of function ‘crc32’ [-Wimplicit-function-declaration]
calc_crc = crc32(0, (void *)eeprom,
^~~~~

Signed-off-by: Joel Johnson <mrjoel@lixil.net>
---

cmd/sys_eeprom.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/cmd/sys_eeprom.c b/cmd/sys_eeprom.c
index 373673a526..9e9c1ae8ff 100644
--- a/cmd/sys_eeprom.c
+++ b/cmd/sys_eeprom.c
@@ -12,6 +12,7 @@
#include <i2c_eeprom.h>
#include <env.h>
#include <linux/ctype.h>
+#include <u-boot/crc.h>

#include "sys_eeprom.h"

--
2.20.1