commit | d25c0d90e5587ce8c1a6f79d78ef0a72cd579875 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jun 02 22:04:52 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Wed Jun 11 16:25:46 2014 -0400 |
tree | ae0d2333556164104f9c12f561221b1d3541ed01 | |
parent | af2f9d59d2abcb868db15e13cb0be78b832e7e47 [diff] |
Improve error handling in fit_common Make the error handling common, and make sure the file is always closed on error. Rename the parameter to be more description and add comments. Signed-off-by: Simon Glass <sjg@chromium.org>