[U-Boot] [PATCH v2 4/6] cbfs: Move result variable into the struct

Bin Meng bmeng.cn at gmail.com
Sun Aug 18 13:59:16 UTC 2019


On Fri, Aug 16, 2019 at 10:43 PM Bin Meng <bmeng.cn at gmail.com> wrote:
>
> On Thu, Aug 15, 2019 at 9:56 AM Simon Glass <sjg at chromium.org> wrote:
> >
> > Move the result variable into the struct also, so that it can be used when
> > BSS is not available. Add a function to read it.
> >
> > Note that all functions sill use the BSS version of the data.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> > Changes in v2: None
> >
> >  cmd/cbfs.c     |  4 ++--
> >  fs/cbfs/cbfs.c | 48 ++++++++++++++++++++++++++++--------------------
> >  include/cbfs.h |  7 +++++++
> >  3 files changed, 37 insertions(+), 22 deletions(-)
> >
>
> Tested-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list