]> git.baikalelectronics.ru Git - uboot.git/commit
cbfs: Allow access to CBFS without a header
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:12 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:37 +0000 (13:59 +1300)
commit5f00b8c64e2d76ac910531d9ff0dcc2ced2ef26e
treece5ac8f37aa0a0809b36db86604ac4d4d30f06ba
parentb50e7dd5c128b13f8aef3daa5c0cb921c4f127b2
cbfs: Allow access to CBFS without a header

In some cases CBFS does not start with a header but is just a collection
of files. It is possible to support this so long as the size of the CBFS
is provided.

Update the cbfs_init_mem() function to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/fsp2/fsp_init.c
fs/cbfs/cbfs.c
include/cbfs.h