summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2019-12-28 10:45:03 -0700
committerJagan Teki <[email protected]>2020-01-24 23:06:49 +0530
commitea188950af50dbe172041d111c9ab57dd4632517 (patch)
treeb232d2432b1384e1b12d9e82c5a805e6a9548490 /include
parente7f0ec09a04d208b9cdfb095bacf5394d90f19f3 (diff)
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 <[email protected]>
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 09b5f62ae31..5e38c5fc582 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 86ebaae4fe3..3649644cf1d 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,