summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:45:03 +0300
committerTom Rini <trini@konsulko.com>2020-01-17 22:02:35 +0300
commit8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1 (patch)
tree676aead549f3a82f2cf0260474eb48f43aeb1c61 /include
parentbb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 (diff)
downloadu-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.tar.xz
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 'include')
-rw-r--r--include/common.h4
-rw-r--r--include/image.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 09b5f62ae3..5e38c5fc58 100644
--- a/include/common.h
+++ b/include/common.h
@@ -62,10 +62,6 @@ void hang (void) __attribute__ ((noreturn));
/* common/cmd_source.c */
int source (ulong addr, const char *fit_uname);
-extern ulong image_load_addr; /* Default Load Address */
-extern ulong image_save_addr; /* Default Save Address */
-extern ulong image_save_size; /* Default Save Size */
-
/* common/memsize.c */
long get_ram_size (long *, long);
phys_size_t get_effective_memsize(void);
diff --git a/include/image.h b/include/image.h
index 86ebaae4fe..3649644cf1 100644
--- a/include/image.h
+++ b/include/image.h
@@ -112,6 +112,10 @@ struct fdt_region;
# define IMAGE_OF_SYSTEM_SETUP 0
#endif
+extern ulong image_load_addr; /* Default Load Address */
+extern ulong image_save_addr; /* Default Save Address */
+extern ulong image_save_size; /* Default Save Size */
+
enum ih_category {
IH_ARCH,
IH_COMP,