aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:03 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:49 +0530
commitea188950af50dbe172041d111c9ab57dd4632517 (patch)
treeb232d2432b1384e1b12d9e82c5a805e6a9548490 /common
parente7f0ec09a04d208b9cdfb095bacf5394d90f19f3 (diff)
downloadu-boot-ea188950af50dbe172041d111c9ab57dd4632517.zip
u-boot-ea188950af50dbe172041d111c9ab57dd4632517.tar.gz
u-boot-ea188950af50dbe172041d111c9ab57dd4632517.tar.bz2
common: Move the image globals into image.h
These three globals relate to image handling. Move them to the image header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/board_r.c1
-rw-r--r--common/update.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index cf3a5f7..668496a 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -13,6 +13,7 @@
#include <api.h>
#include <cpu_func.h>
#include <exports.h>
+#include <image.h>
#include <irq_func.h>
#include <net.h>
#include <u-boot/crc.h>
diff --git a/common/update.c b/common/update.c
index bfb760e..c8dd346 100644
--- a/common/update.c
+++ b/common/update.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <cpu_func.h>
+#include <image.h>
#if !(defined(CONFIG_FIT) && defined(CONFIG_OF_LIBFDT))
#error "CONFIG_FIT and CONFIG_OF_LIBFDT are required for auto-update feature"