diff options
author | Simon Glass <sjg@chromium.org> | 2020-05-24 17:38:18 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-05-27 14:40:09 +0800 |
commit | 9dc2355e515d2026b40da3beab5b9ebaef854c4c (patch) | |
tree | 33924b0203609a57a36d05056df4d12d57404bc7 /include/configs/omap3_zoom1.h | |
parent | a2c528fe8a2187abf444627f964b5b727bf5fd2b (diff) |
cbfs: Unify the two header loaders
These two functions have mostly the same code. Pull this out into a common
function.
Also make this function zero the private data so that callers don't have
to do it. Finally, update cbfs_load_header_ptr() to take the base of the
ROM as its parameter, which makes more sense than passing the address of
the header within the ROM.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/configs/omap3_zoom1.h')
0 files changed, 0 insertions, 0 deletions