
18 Aug
2019
18 Aug
'19
3:59 p.m.
On Fri, Aug 16, 2019 at 10:43 PM Bin Meng bmeng.cn@gmail.com wrote:
On Thu, Aug 15, 2019 at 9:56 AM Simon Glass sjg@chromium.org wrote:
Sometimes an image has multiple CBFS. The current CBFS API is limited to handling only one at time. Also it keeps track of the CBFS internally in BSS, which does not work before relocation, for example.
Add a few new functions to overcome these limitations.
Signed-off-by: Simon Glass sjg@chromium.org Reviewed-by: Bin Meng bmeng.cn@gmail.com
Changes in v2: None
fs/cbfs/cbfs.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ include/cbfs.h | 22 ++++++++++++++++++++++ 2 files changed, 68 insertions(+)
Tested-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86, thanks!