Skip to contentSkip to conversation

stm32mp1: use the command env info -q in env_check

PATCH New Patrick Delaunay 2 participants 2 messages Jul 2, 2020 – Jul 28, 2020 Arm STM32

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 stm32mp1: use the command env info -q in env_check

Activate the new option -q in command "env info" to avoid unnecessary trace during boot.

---
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(-)
include/configs/stm32mp1.h +1 -1
index e927787be0..038a639843 100644
@@ -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"
Signature · 1 line
2.17.1
#1 lore raw

PATCH v2 1/1 stm32mp1: use the command env info -q in env_check

Quoted 25 lines · Patrick Delaunay

Activate the new option -q in command "env info" to avoid unnecessary trace during boot.

---
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(-)
include/configs/stm32mp1.h +0 -0
index e927787be0..038a639843 100644

include/configs/stm32mp1.h line 161

Quoted 8 lines
include/configs/stm32mp1.h +1 -1
@@ -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