On Sat, Dec 29, 2018 at 9:40 PM Simon Glass <[email protected]> wrote:
>
> On Sat, 22 Dec 2018 at 02:50, Bin Meng <[email protected]> wrote:
> >
> > From: Christian Gmeiner <[email protected]>
> >
> > cbfs_fileheader.len indicates the content size of the file in the
> > cbfs, and it has nothing to do with cbfs_fileheader.offset which
> > is the starting address of the file in the cbfs.
> >
> > Remove such check in file_cbfs_next_file(). Before this change
> > 'cbfsinit' failed with 'Bad CBFS file'. After this change all cbfs
> > commands are working as expected.
> >
> > Signed-off-by: Christian Gmeiner <[email protected]>
> > [bmeng: keep the necessary header sanity check]
> > Signed-off-by: Bin Meng <[email protected]>
> >
> > ---
> >
> >  fs/cbfs/cbfs.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
>
> Reviewed-by: Simon Glass <[email protected]>

applied to u-boot-x86, thanks!
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to