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

Bin Meng bmeng.cn at gmail.com
Fri Aug 16 14:43:30 UTC 2019


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>


More information about the U-Boot mailing list