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: NWolfgang Denk <wd@denx.de> Acked-by: NJohn Rigby <jcrigby@gmail.com>
Showing
想要评论请 注册 或 登录