summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-27 21:51:50 -0600
committerMarian Balakowicz <m8@semihalf.com>2008-02-29 13:15:56 +0100
commitd3f2fa0d278467b2232e4eb2372f905c3febfbeb (patch)
tree354a389881ddaacfc29a0b02c6fb12b9cb7c1f81 /include/image.h
parente822d7fc4dd4755d4d0a22f05e33f33d1a0481da (diff)
downloadbootable_bootloader_goldelico_gta04-d3f2fa0d278467b2232e4eb2372f905c3febfbeb.zip
bootable_bootloader_goldelico_gta04-d3f2fa0d278467b2232e4eb2372f905c3febfbeb.tar.gz
bootable_bootloader_goldelico_gta04-d3f2fa0d278467b2232e4eb2372f905c3febfbeb.tar.bz2
[new uImage] Provide ability to restrict region used for boot images
Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way to restrict what memory range is used for bootm. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index 97eb520..ee692ac 100644
--- a/include/image.h
+++ b/include/image.h
@@ -316,6 +316,8 @@ int image_check_dcrc (image_header_t *hdr);
int image_check_dcrc_wd (image_header_t *hdr, ulong chunksize);
int getenv_verify (void);
int getenv_autostart (void);
+ulong getenv_bootm_low(void);
+ulong getenv_bootm_size(void);
void memmove_wd (void *to, void *from, size_t len, ulong chunksz);
#endif