]> git.sur5r.net Git - u-boot/commit
env_nand.c: print error message and fail gracefully
authorWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 05:34:17 +0000 (22:34 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 16:17:14 +0000 (17:17 +0100)
commit73e49e39dbc3943334a83a4ddda74438031bf574
tree4a5b12cc22a4dcc1bdd9e0911a4b2a1f80631e18
parentbfdc69924a97f8eb98669035ad241dd3e3fb052a
env_nand.c: print error message and fail gracefully

env_nand.c would crash silently if a malloc() for the environment
buffers failed; make it print an error message and fail gracefully,
i. e. use the default environment then.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/env_nand.c