commit | e78f9bb829a3a53d21abc4fcc7322a5acae0d7d5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun May 24 17:38:17 2020 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed May 27 14:40:09 2020 +0800 |
tree | b9f333d8312b874dca006cdb74cfbc5d15005ab8 | |
parent | 9ad16d646ba03755118c28fbb36f2a9620466877 [diff] |
cbfs: Adjust cbfs_load_header_ptr() to use cbfs_priv This function is strange at the moment in that it takes a header pointer but then accesses the cbfs_s global. Currently clients have their own priv pointer, so update the function to take that as a parameter instead. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>