]> git.dujemihanovic.xyz Git - u-boot.git/commit
env_nand.c: print error message and fail gracefully
authorWolfgang Denk <wd@denx.de>
Sun, 17 Jan 2010 04:50:26 +0000 (21:50 -0700)
committerScott Wood <scottwood@freescale.com>
Wed, 27 Jan 2010 20:22:41 +0000 (14:22 -0600)
commit15b86c3d6c9a5a2e917b73d758a556568430021a
treed0eae22818a6e0f2863f63967a1e040a9247f567
parent674ef7bd02de948b6d8757f6a43a6f2fa4d88769
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>
Acked-by: John Rigby <jcrigby@gmail.com>
common/env_nand.c