diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-12-11 22:16:22 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-12-13 11:46:55 -0700 |
commit | ec8a252cd492a7a409d6912aebeff34bb9e1e1e1 (patch) | |
tree | 346bb7bedd1dfe13f531725e7e0edaa2d80df1a8 /include/image.h | |
parent | 7afcf3a55b5f484b3d3442053fae8186a3fb92d7 (diff) | |
download | talos-obmc-uboot-ec8a252cd492a7a409d6912aebeff34bb9e1e1e1.tar.gz talos-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.h | 1 |
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); |