commit | 1b9d8155557576bc9728cd4e4fe5a724e5e15172 | [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 | c3d0c234944c79c2bb283afaf6b2e5832e343aa0 [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>