diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-11 10:50:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-04-15 12:21:44 +0200 |
commit | db33f32842973245f0adcae2fb7fd23ec4325630 (patch) | |
tree | b674d9a2a03de090876dfd54abbbc9efb218de2f /common | |
parent | 4e9f324d37e98823eb7179a239d412e9786d9938 (diff) | |
download | barebox-db33f32842973245f0adcae2fb7fd23ec4325630.tar.gz barebox-db33f32842973245f0adcae2fb7fd23ec4325630.tar.xz |
include: move crc specific stuff to crc.h
We have a crc.h, so move our crc function prototypes there to further
cleanup common.h.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/environment.c | 1 | ||||
-rw-r--r-- | common/imx-bbu-nand-fcb.c | 1 | ||||
-rw-r--r-- | common/partitions/efi.c | 1 | ||||
-rw-r--r-- | common/state.c | 1 | ||||
-rw-r--r-- | common/uimage.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/common/environment.c b/common/environment.c index 9cf44a0f06..65404afa14 100644 --- a/common/environment.c +++ b/common/environment.c @@ -29,6 +29,7 @@ #include <malloc.h> #include <errno.h> #include <fs.h> +#include <crc.h> #include <fcntl.h> #include <envfs.h> #include <xfuncs.h> diff --git a/common/imx-bbu-nand-fcb.c b/common/imx-bbu-nand-fcb.c index 04c6e6050c..1ffa79d1ec 100644 --- a/common/imx-bbu-nand-fcb.c +++ b/common/imx-bbu-nand-fcb.c @@ -34,6 +34,7 @@ #include <linux/mtd/nand.h> #include <linux/stat.h> #include <io.h> +#include <crc.h> #include <mach/generic.h> #include <mtd/mtd-peb.h> diff --git a/common/partitions/efi.c b/common/partitions/efi.c index a9945dd9eb..88734f166b 100644 --- a/common/partitions/efi.c +++ b/common/partitions/efi.c @@ -17,6 +17,7 @@ #include <init.h> #include <asm/unaligned.h> #include <dma.h> +#include <crc.h> #include <linux/ctype.h> #include "efi.h" diff --git a/common/state.c b/common/state.c index b55b1503bd..c763ca4a41 100644 --- a/common/state.c +++ b/common/state.c @@ -20,6 +20,7 @@ #include <errno.h> #include <fcntl.h> #include <fs.h> +#include <crc.h> #include <init.h> #include <ioctl.h> #include <libbb.h> diff --git a/common/uimage.c b/common/uimage.c index 59d7b65c90..34daf70dc1 100644 --- a/common/uimage.c +++ b/common/uimage.c @@ -21,6 +21,7 @@ #include <image.h> #include <malloc.h> #include <errno.h> +#include <crc.h> #include <libbb.h> #include <libfile.h> #include <uncompress.h> |