]> git.dujemihanovic.xyz Git - u-boot.git/commit
Prevent crash if random DTB address is passed to bootm
authorAnatolij Gustschin <agust@denx.de>
Fri, 29 Aug 2008 19:04:45 +0000 (21:04 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 6 Sep 2008 22:17:32 +0000 (00:17 +0200)
commit8e02494e8f86c8f2d7324b5eb9e75271104a01ef
tree511abb597d72daf34ffddce2ff0326fc52adf958
parentcc347801add2689b1ee54d21f62bc14ecf6e1dd8
Prevent crash if random DTB address is passed to bootm

This patch adds bootm_start() return value check. If
error status is returned, we do not proceed further to
prevent board reset or crash as we still can recover
at this point.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
common/cmd_bootm.c
common/image.c