]> git.dujemihanovic.xyz Git - u-boot.git/commit
mv_common.c: don't compile reset_environment if ENV_IS_NOWHERE
authorMichael Jones <michael.jones@matrix-vision.de>
Thu, 14 Jul 2011 23:09:44 +0000 (23:09 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 14:48:58 +0000 (16:48 +0200)
commit12b5723b3e599857812abfeeb2c241c700274542
treeefa38ea7b23cc5b1e2a1c58afa8280d0e8ed7eb4
parentee44fb298dd9270aa64bb2cb5a93a43f6a85d70e
mv_common.c: don't compile reset_environment if ENV_IS_NOWHERE

Doesn't make sense to provide this function to boards which defined
CONFIG_ENV_IS_NOWHERE. Such a board gets a linking error because
common/env_nowhere.c doesn't define saveenv().

Signed-off-by: Michael Jones <michael.jones@matrix-vision.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
board/matrix_vision/common/mv_common.c