[PATCH v4 12/13] cbfs: Allow reading a file from a CBFS given its base addr

Bin Meng bmeng.cn at gmail.com
Mon May 25 03:15:16 CEST 2020


On Mon, May 25, 2020 at 7:38 AM Simon Glass <sjg at chromium.org> wrote:
>
> 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 at chromium.org>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
> - Use void * instead of u8 * in file_cbfs_find_uncached_base()
> - Fix and expand comments in file_cbfs_find_uncached_base()
>
>  fs/cbfs/cbfs.c | 13 +++++++++++++
>  include/cbfs.h | 14 ++++++++++++++
>  2 files changed, 27 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list