summaryrefslogtreecommitdiffstats
path: root/include/image.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-12-11 22:16:22 -0600
committerTom Rini <trini@ti.com>2012-12-13 11:46:55 -0700
commitec8a252cd492a7a409d6912aebeff34bb9e1e1e1 (patch)
tree346bb7bedd1dfe13f531725e7e0edaa2d80df1a8 /include/image.h
parent7afcf3a55b5f484b3d3442053fae8186a3fb92d7 (diff)
downloadblackbird-obmc-uboot-ec8a252cd492a7a409d6912aebeff34bb9e1e1e1.tar.gz
blackbird-obmc-uboot-ec8a252cd492a7a409d6912aebeff34bb9e1e1e1.zip
env: Use getenv_yesno() more generally
Move the getenv_yesno() to env_common.c and change most checks for 'y' or 'n' to use this helper. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index f54d983306..b958b18a4d 100644
--- a/include/image.h
+++ b/include/image.h
@@ -460,7 +460,6 @@ 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
-int getenv_yesno(char *var);
ulong getenv_bootm_low(void);
phys_size_t getenv_bootm_size(void);
phys_size_t getenv_bootm_mapsize(void);
OpenPOWER on IntegriCloud