summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:03 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 14:02:35 -0500
commit8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1 (patch)
tree676aead549f3a82f2cf0260474eb48f43aeb1c61 /common
parentbb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 (diff)
downloadu-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.tar.gz
u-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.tar.bz2
u-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.zip
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 cf3a5f7b73..668496abed 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 bfb760e52a..c8dd346a09 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"