diff mbox series

[v2] stm32mp1: use the command env info -q in env_check

Message ID 20200702164802.15079-1-patrick.delaunay@st.com
State Accepted
Delegated to: Patrice Chotard
Headers show
Series [v2] stm32mp1: use the command env info -q in env_check | expand

Commit Message

Patrick Delaunay July 2, 2020, 4:48 p.m. UTC
Activate the new option -q in command "env info"
to avoid unnecessary trace during boot.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
---
Hi,

This patch was previous included in V3 serie 158105.

This patch have dependency with serie 184539 for -q option
and with serie 187232 for stm32mp1 env_check update.


Changes in v2:
- correct commit message (commit-notes) and add review by Patrice

 include/configs/stm32mp1.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Patrice CHOTARD July 28, 2020, 3:31 p.m. UTC | #1
On 7/2/20 6:48 PM, Patrick Delaunay wrote:
> Activate the new option -q in command "env info"
> to avoid unnecessary trace during boot.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
> ---
> Hi,
>
> This patch was previous included in V3 serie 158105.
>
> This patch have dependency with serie 184539 for -q option
> and with serie 187232 for stm32mp1 env_check update.
>
>
> Changes in v2:
> - correct commit message (commit-notes) and add review by Patrice
>
>  include/configs/stm32mp1.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
> index e927787be0..038a639843 100644
> --- a/include/configs/stm32mp1.h
> +++ b/include/configs/stm32mp1.h
> @@ -155,7 +155,7 @@
>  	"splashimage=0xc4300000\0"  \
>  	"ramdisk_addr_r=0xc4400000\0" \
>  	"altbootcmd=run bootcmd\0" \
> -	"env_check=if env info -p -d; then env save; fi\0" \
> +	"env_check=if env info -p -d -q; then env save; fi\0" \
>  	STM32MP_BOOTCMD \
>  	BOOTENV \
>  	"boot_net_usb_start=true\0"
Applied to u-boot-stm/master

Thanks

Patrice
diff mbox series

Patch

diff --git a/include/configs/stm32mp1.h b/include/configs/stm32mp1.h
index e927787be0..038a639843 100644
--- a/include/configs/stm32mp1.h
+++ b/include/configs/stm32mp1.h
@@ -155,7 +155,7 @@ 
 	"splashimage=0xc4300000\0"  \
 	"ramdisk_addr_r=0xc4400000\0" \
 	"altbootcmd=run bootcmd\0" \
-	"env_check=if env info -p -d; then env save; fi\0" \
+	"env_check=if env info -p -d -q; then env save; fi\0" \
 	STM32MP_BOOTCMD \
 	BOOTENV \
 	"boot_net_usb_start=true\0"