summaryrefslogtreecommitdiffstats
path: root/common/bootm.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-07-20 08:04:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-07-26 08:31:31 +0200
commit4d85cb974a5f95a98f81a5efd45f9956ca8c4858 (patch)
treefead2940d3654d6c4ac50ef53d02a7594e1a66ed /common/bootm.c
parentcb47ddee1b700d910c0459c71ce7a98035e5de5b (diff)
downloadbarebox-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/bootm.c')
-rw-r--r--common/bootm.c3
1 files changed, 2 insertions, 1 deletions
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>