From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 18 Aug 2019 21:59:19 +0800 Subject: [U-Boot] [PATCH v2 5/6] cbfs: Add functions to support multiple CBFSs In-Reply-To: References: <20190815015615.164307-1-sjg@chromium.org> <20190815015615.164307-6-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 16, 2019 at 10:43 PM Bin Meng wrote: > > On Thu, Aug 15, 2019 at 9:56 AM Simon Glass 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 > > Reviewed-by: Bin Meng > > --- > > > > Changes in v2: None > > > > fs/cbfs/cbfs.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ > > include/cbfs.h | 22 ++++++++++++++++++++++ > > 2 files changed, 68 insertions(+) > > > > Tested-by: Bin Meng applied to u-boot-x86, thanks!