diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-20 08:04:11 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-07-26 08:31:31 +0200 |
commit | 4d85cb974a5f95a98f81a5efd45f9956ca8c4858 (patch) | |
tree | fead2940d3654d6c4ac50ef53d02a7594e1a66ed /common | |
parent | cb47ddee1b700d910c0459c71ce7a98035e5de5b (diff) | |
download | barebox-4d85cb974a5f95a98f81a5efd45f9956ca8c4858.tar.gz barebox-4d85cb974a5f95a98f81a5efd45f9956ca8c4858.tar.xz |
include: Move bulk of boot.h to bootm.h
The majority of the stuff currently in include/boot.h is about bootm
code implemented common/bootm.c. To be more consistent move it to a
new file include/bootm.h.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/blspec.c | 2 | ||||
-rw-r--r-- | common/bootm.c | 3 | ||||
-rw-r--r-- | common/image-fit.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/common/blspec.c b/common/blspec.c index b964155404..de65038e5a 100644 --- a/common/blspec.c +++ b/common/blspec.c @@ -24,7 +24,7 @@ #include <libfile.h> #include <libbb.h> #include <init.h> -#include <boot.h> +#include <bootm.h> #include <net.h> #include <fs.h> #include <of.h> diff --git a/common/bootm.c b/common/bootm.c index 27d20f2c72..78d04d5806 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -12,7 +12,7 @@ */ #include <common.h> -#include <boot.h> +#include <bootm.h> #include <fs.h> #include <malloc.h> #include <memory.h> @@ -20,6 +20,7 @@ #include <image-fit.h> #include <globalvar.h> #include <init.h> +#include <environment.h> #include <linux/stat.h> #include <magicvar.h> diff --git a/common/image-fit.c b/common/image-fit.c index 9b6c40fbf8..6a01c614cc 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -20,7 +20,7 @@ #define pr_fmt(fmt) "FIT: " fmt #include <common.h> #include <init.h> -#include <boot.h> +#include <bootm.h> #include <libfile.h> #include <fdt.h> #include <digest.h> |