From patchwork Mon Feb 10 17:01:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Delaunay X-Patchwork-Id: 236105 List-Id: U-Boot discussion From: patrick.delaunay at st.com (Patrick Delaunay) Date: Mon, 10 Feb 2020 18:01:22 +0100 Subject: [PATCH v2 0/7] cmd: env: add option for quiet output on env info Message-ID: <20200210170129.8405-1-patrick.delaunay@st.com> Hi, It is a V2 after Wolfgang and Simon remarks for "cmd: env: add option for quiet output on env info" http://patchwork.ozlabs.org/project/uboot/list/?series=155122 I also add pytest for command env info. Test for ENV_IS_IN_DEVICE will be include in future serie (I will activate ENV_IS_IN_EXT4 support in sandbox) To avoid compilation warning, I add prototype for env_get_location for the patch 3/7 "cmd: env: check real location for env info command" as it is done in http://patchwork.ozlabs.org/patch/1230200/ Regards Patrick Changes in v2: - update prototype in env_internal.h as done in "env: add prototypes for weak function" - remove comment change in env.c (implementation information) - move env_location declaration - activate CMD_NVEDIT_INFO in sandbox (new patch) - activate env info command in sandbox (new) - add pytest test_env_info and test_env_info_test (new) Patrick Delaunay (7): cmd: env: add option for quiet output on env info cmd: env: use ENV_IS_IN_DEVICE in env info cmd: env: check real location for env info command stm32mp1: use the command env info in env_check stm32mp1: configs: activate CMD_ERASEENV configs: sandbox: Enable sub command 'env info' test: env: add test for env info sub-command arch/arm/mach-stm32mp/Kconfig | 1 + cmd/Kconfig | 1 + cmd/nvedit.c | 39 +++++++++++++++++++------ configs/sandbox64_defconfig | 1 + configs/sandbox_defconfig | 1 + configs/sandbox_flattree_defconfig | 1 + configs/sandbox_spl_defconfig | 1 + configs/stm32mp15_basic_defconfig | 1 + configs/stm32mp15_optee_defconfig | 1 + configs/stm32mp15_trusted_defconfig | 1 + include/configs/stm32mp1.h | 4 +-- include/env_internal.h | 11 ++++++++ test/py/tests/test_env.py | 44 +++++++++++++++++++++++++++++ 13 files changed, 95 insertions(+), 12 deletions(-)