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