aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parentbb872dd930ccc0fb7a91c1b8e34b39ce2e9fed06 (diff)
downloadu-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.zip
u-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.tar.gz
u-boot-8e8ccfe1aa1a3ea0cb88b4438c7a687fcf8632a1.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 '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 09b5f62..5e38c5f 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 86ebaae..3649644 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,