]> git.dujemihanovic.xyz Git - u-boot.git/commit
cbfs: Allow reading a file from a CBFS given its base addr
authorSimon Glass <sjg@chromium.org>
Sun, 24 May 2020 23:38:23 +0000 (17:38 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 27 May 2020 06:40:09 +0000 (14:40 +0800)
commit03d4c298fa801139b37108fab83cb312209d6092
tree9e8605e251b1f302e24083423109fa2a7ad8e43a
parent924e346a66ea57f48d6f8467c30d411442229946
cbfs: Allow reading a file from a CBFS given its base addr

Currently we support reading a file from CBFS given the address of the end
of the ROM. Sometimes we only know the start of the CBFS. Add a function
to find a file given that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
fs/cbfs/cbfs.c
include/cbfs.h