]> git.baikalelectronics.ru Git - uboot.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)
commit0bffbc47118e715d4aee75e8729c2a31b7ace94a
tree9e8605e251b1f302e24083423109fa2a7ad8e43a
parent655ca7f2ff589c8eaed025b90a861691fe3eb015
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