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

Bin Meng bmeng.cn at gmail.com
Sat May 23 15:34:44 CEST 2020


On Sat, May 23, 2020 at 12:32 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 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