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

Bin Meng bmeng.cn at gmail.com
Wed Aug 14 08:40:28 UTC 2019


On Wed, Aug 14, 2019 at 11:09 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>
> ---
>
>  cmd/cbfs.c     |  4 ++--
>  fs/cbfs/cbfs.c | 45 +++++++++++++++++++++++++--------------------
>  include/cbfs.h |  7 +++++++
>  3 files changed, 34 insertions(+), 22 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list