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

2020-05-23 Thread Bin Meng
On Sat, May 23, 2020 at 12:32 AM Simon Glass 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 > --- > > Changes in v3: None >

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

2020-05-22 Thread Simon Glass
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 --- Changes in v3: None Changes in v2: - Use void * instead of u8 * in file_cbfs_find_uncached