[U-Boot] [PATCH] cmd: nvedit: Add sub-command 'env info'
Simon Glass
sjg at chromium.org
Sat Jun 22 19:09:59 UTC 2019
On Fri, 24 May 2019 at 16:20, Mark Jonas <mark.jonas at de.bosch.com> wrote:
>
> From: Leo Ruan <tingquan.ruan at cn.bosch.com>
>
> Add sub-command 'env info' to display environment information:
> - env_valid : is environment valid
> - env_ready : is environment imported into hash table
> - env_use_default : is default environment using
>
> This command can be optionally used for evaluation in scripts:
> [-d] : evaluate whether default environment is used
> [-p] : evaluate whether environment can be persisted
> The result of multiple evaluations will be combined with AND.
>
> Signed-off-by: Leo Ruan <tingquan.ruan at cn.bosch.com>
> Signed-off-by: Mark Jonas <mark.jonas at de.bosch.com>
> ---
> cmd/Kconfig | 14 ++++++++
> cmd/nvedit.c | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 122 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list