summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:15 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:31:11 -0400
commit723806cc5bea9f8b37323dfd7568603f99af6a06 (patch)
tree886eeb28ac54536f60ad0979f9a4404ff4b29bda /include/image.h
parent35affd7a2ff9a77b9946bf93b616228fcf218d60 (diff)
downloadu-boot-723806cc5bea9f8b37323dfd7568603f99af6a06.tar.gz
u-boot-723806cc5bea9f8b37323dfd7568603f99af6a06.tar.bz2
u-boot-723806cc5bea9f8b37323dfd7568603f99af6a06.zip
env: Rename some other getenv()-related functions
We are now using an env_ prefix for environment functions. Rename these other functions as well, for consistency: getenv_vlan() getenv_bootm_size() getenv_bootm_low() getenv_bootm_mapsize() env_get_default() Suggested-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/image.h b/include/image.h
index c4fe4cfb8b..1f4bfda2f3 100644
--- a/include/image.h
+++ b/include/image.h
@@ -769,9 +769,9 @@ static inline void image_set_name(image_header_t *hdr, const char *name)
int image_check_hcrc(const image_header_t *hdr);
int image_check_dcrc(const image_header_t *hdr);
#ifndef USE_HOSTCC
-ulong getenv_bootm_low(void);
-phys_size_t getenv_bootm_size(void);
-phys_size_t getenv_bootm_mapsize(void);
+ulong env_get_bootm_low(void);
+phys_size_t env_get_bootm_size(void);
+phys_size_t env_get_bootm_mapsize(void);
#endif
void memmove_wd(void *to, void *from, size_t len, ulong chunksz);