cbfs: Allow file traversal with any CBFS
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:13 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:37 +0000 (13:59 +1300)
commitc4f5b5dcc31b5aee37dabbadc998fcf695885157
tree95f2a352718472e21ae4fbede8e1e2de7c472d35
parent5536f1285fd2f9ec3e177d6e74b7eb73c6821c8b
cbfs: Allow file traversal with any CBFS

The file traversal functions currently use a single global CBFS. In some
cases we need to access multiple CBFSs to obtain different files. Add new
functions to support this.

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