crc32: Use the crc.h header for crc functions
Drop inclusion of crc.h in common.h and use the correct header directly instead. With this we can drop the conflicting definition in fw_env.h and rely on the crc.h header, which is already included. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include <dm/uclass.h>
|
||||
#include <fdt_support.h>
|
||||
#include <time.h>
|
||||
#include <u-boot/crc.h>
|
||||
# include <atsha204a-i2c.h>
|
||||
|
||||
#include "../drivers/ddr/marvell/a38x/ddr3_init.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
#include <common.h>
|
||||
#include <i2c.h>
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
#include "tricorder-eeprom.h"
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
#ifdef CONFIG_SYS_I2C_EEPROM_CCID
|
||||
#include "../common/eeprom.h"
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <miiphy.h>
|
||||
#include <command.h>
|
||||
#include <linux/libfdt.h>
|
||||
#include <u-boot/crc.h>
|
||||
#if defined(CONFIG_PCI)
|
||||
#include <pci.h>
|
||||
#endif
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <net.h>
|
||||
#include <spi.h>
|
||||
#include <spi_flash.h>
|
||||
#include <u-boot/crc.h>
|
||||
#include <uuid.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <linux/io.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <i2c.h>
|
||||
#include <mmc.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <u-boot/crc.h>
|
||||
#include <u-boot/sha1.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#include <i2c.h>
|
||||
#include <mmc.h>
|
||||
#include <tpm-v1.h>
|
||||
#include <u-boot/crc.h>
|
||||
#include <u-boot/sha1.h>
|
||||
#include <asm/byteorder.h>
|
||||
#include <asm/unaligned.h>
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <asm/arch/gpio.h>
|
||||
#include <asm/arch/mmc.h>
|
||||
#include <asm/arch/spl.h>
|
||||
#include <u-boot/crc.h>
|
||||
#ifndef CONFIG_ARM64
|
||||
#include <asm/armv7.h>
|
||||
#endif
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <misc.h>
|
||||
#include <spl.h>
|
||||
#include <syscon.h>
|
||||
#include <u-boot/crc.h>
|
||||
#include <usb.h>
|
||||
#include <dm/pinctrl.h>
|
||||
#include <dm/uclass-internal.h>
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <env.h>
|
||||
#include <i2c.h>
|
||||
#include <linux/ctype.h>
|
||||
#include <u-boot/crc.h>
|
||||
|
||||
#include "eeprom.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user