stm32mp1: Fix warning display when 1.5A power supply is used
PATCH 1/1 stm32mp1: Fix warning display when 1.5A power supply is used
On DK1/2 board, when a 1.5A power supply is detected, a warning message is displayed. In this message, "1.5mA" is displayed instead of "1.5A".
---
board/st/stm32mp1/stm32mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/st/stm32mp1/stm32mp1.c +1 -1
@@ -435,7 +435,7 @@ static int board_check_usb_power(void)if (max_uV >USB_WARNING_LOW_THRESHOLD_UV && max_uV <=USB_START_LOW_THRESHOLD_UV && min_uV <=USB_LOW_THRESHOLD_UV ) { -pr_err ("* WARNING 1.5mA power supply detected *\n" ); +pr_err ("* WARNING 1.5A power supply detected *\n" ); nb_blink =3 ; }
Signature · 1 line
2.17.1
PATCH 1/1 stm32mp1: Fix warning display when 1.5A power supply is used
Hi Patrice
Quoted 12 lines
From: Patrice CHOTARD <[email protected]>
Sent: jeudi 30 avril 2020 18:41On DK1/2 board, when a 1.5A power supply is detected, a warning message is displayed. In this message, "1.5mA" is displayed instead of "1.5A".
Signed-off-by Patrice Chotard <[email protected]>---
board/st/stm32mp1/stm32mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks
Patrick
PATCH 1/1 stm32mp1: Fix warning display when 1.5A power supply is used
In reply to Patrice ChotardHi Patrice
Quoted 12 lines
From: Patrice CHOTARD <[email protected]>
Sent: jeudi 30 avril 2020 18:41On DK1/2 board, when a 1.5A power supply is detected, a warning message is displayed. In this message, "1.5mA" is displayed instead of "1.5A".
Signed-off-by Patrice Chotard <[email protected]>---
board/st/stm32mp1/stm32mp1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-stm/master, thanks!
Regards
Patrick