env: Use getenv_yesno() more generally
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 12 Dec 2012 04:16:22 +0000 (22:16 -0600)
committerTom Rini <trini@ti.com>
Thu, 13 Dec 2012 18:46:55 +0000 (11:46 -0700)
commitec8a252cd492a7a409d6912aebeff34bb9e1e1e1
tree346bb7bedd1dfe13f531725e7e0edaa2d80df1a8
parent7afcf3a55b5f484b3d3442053fae8186a3fb92d7
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>
16 files changed:
arch/arm/lib/board.c
arch/m68k/lib/board.c
arch/microblaze/lib/board.c
arch/powerpc/cpu/mpc85xx/mp.c
arch/powerpc/lib/board.c
arch/sparc/lib/board.c
board/Marvell/db64360/db64360.c
board/Marvell/db64460/db64460.c
board/esd/cpci750/cpci750.c
board/gw8260/gw8260.c
board/prodrive/p3mx/p3mx.c
common/env_common.c
common/image.c
include/common.h
include/image.h
net/net.c