commit | 83f288f236505e2e73da8c8d2d72f97c0fe5b06b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Dec 06 21:42:06 2019 -0700 |
committer | Bin Meng <bmeng.cn@gmail.com> | Sun Dec 15 11:44:14 2019 +0800 |
tree | 972bb71f79680279aa8629b4a0b7e874b94cd799 | |
parent | 37a508f8b7d580334b0a9b886539d7816944ece0 [diff] |
x86: Tidy up error handling in mrccache_save() This function is a bit confusing at present due to the error handling. Update it to remove the goto, returning errors as they happen. While we are here, use hex for the data size since this is the norm in U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>