]> git.baikalelectronics.ru Git - uboot.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)
commit4d7b4f414c94624fbc2a02fed4ccb62202214c46
treeb9f333d8312b874dca006cdb74cfbc5d15005ab8
parentaa25da7a2c8a766a3fe1d870a8adda0bbb702ff1
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