]> git.baikalelectronics.ru Git - uboot.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)
commitaa25da7a2c8a766a3fe1d870a8adda0bbb702ff1
treeb267c1887ab0aac54f80f0c9ec518b78f225a571
parent59e031352dd734eb7052841bbba6174e14dccf58
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