]> git.dujemihanovic.xyz Git - u-boot.git/commit
cbfs: Adjust cbfs_load_header_ptr() to use cbfs_priv
authorSimon Glass <sjg@chromium.org>
Sun, 24 May 2020 23:38:17 +0000 (17:38 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commita2c528fe8a2187abf444627f964b5b727bf5fd2b
treeb9f333d8312b874dca006cdb74cfbc5d15005ab8
parent54e19257a9531f0d2654a9a026bab1035a802b6c
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>
fs/cbfs/cbfs.c