board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED
PATCH 1/1 board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED
Use the correct macro to test presence CONFIG_LED:
replace CONFIG_IS_ENABLED(CONFIG_LED) by CONFIG_IS_ENABLED(LED)
Issue see during review unrelated patch "board: stm32mp1: update management of boot-led"
http://patchwork.ozlabs.org/patch/1264823/
---
board/dhelectronics/dh_stm32mp1/board.c | 2 +- board/st/stm32mp1/stm32mp1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
board/dhelectronics/dh_stm32mp1/board.c +1 -1
@@ -398,7 +398,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();return 0 ;
board/st/stm32mp1/stm32mp1.c +1 -1
@@ -647,7 +647,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();return 0 ;
Signature · 1 line
2.17.1
PATCH 1/1 board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED
Quoted 10 lines · Patrick Delaunay
Use the correct macro to test presence
CONFIG_LED:
replaceCONFIG_IS_ENABLED(CONFIG_LED)byCONFIG_IS_ENABLED(LED)Issue see during review unrelated patch "board: stm32mp1: update management of boot-led"
http://patchwork.ozlabs.org/patch/1264823/Cc Marek Vasut <[email protected]>Cc Patrice Chotard <[email protected]>Signed-off-by Patrick Delaunay <[email protected]>
PATCH 1/1 board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED
In reply to Patrick DelaunayHi
Quoted 34 lines · Patrick Delaunay
Use the correct macro to test presence
CONFIG_LED:
replaceCONFIG_IS_ENABLED(CONFIG_LED)byCONFIG_IS_ENABLED(LED)Issue see during review unrelated patch "board: stm32mp1: update management of boot-led"
http://patchwork.ozlabs.org/patch/1264823/Cc Marek Vasut <[email protected]>Cc Patrice Chotard <[email protected]>Signed-off-by Patrick Delaunay <[email protected]>---
board/dhelectronics/dh_stm32mp1/board.c | 2 +- board/st/stm32mp1/stm32mp1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)board/dhelectronics/dh_stm32mp1/board.c +1
-1@@ -398,7 +398,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();return 0 ;board/st/stm32mp1/stm32mp1.c +0
-0
board/st/stm32mp1/stm32mp1.c int board_init(void) · line 653
Quoted 8 lines
board/st/stm32mp1/stm32mp1.c +1
-1@@ -647,7 +647,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();return 0 ;
Thanks
Patrice
PATCH 1/1 board: stm32mp1: correct CONFIG_IS_ENABLED usage for LED
Hi
Quoted 44 lines · Patrice CHOTARD
Hi
Quoted 41 lines · Patrick Delaunay
Use the correct macro to test presence
CONFIG_LED:
replaceCONFIG_IS_ENABLED(CONFIG_LED)byCONFIG_IS_ENABLED(LED)Issue see during review unrelated patch "board: stm32mp1: update management of boot-led"
http://patchwork.ozlabs.org/patch/1264823/Cc Marek Vasut <[email protected]>Cc Patrice Chotard <[email protected]>Signed-off-by Patrick Delaunay <[email protected]>---
board/dhelectronics/dh_stm32mp1/board.c | 2 +- board/st/stm32mp1/stm32mp1.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)board/dhelectronics/dh_stm32mp1/board.c +1
-1@@ -398,7 +398,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();return 0 ;board/st/stm32mp1/stm32mp1.c +1
-1@@ -647,7 +647,7 @@ int board_init(void)sysconf_init (); -if (CONFIG_IS_ENABLED (CONFIG_LED )) +if (CONFIG_IS_ENABLED (LED ))led_default_state ();
Quoted 6 lines
board/st/stm32mp1/stm32mp1.c int board_init(void) · line 653
Quoted 1 line
board/st/stm32mp1/stm32mp1.c +0
-0return 0 ;Reviewed-by Patrice Chotard <[email protected]>Thanks
Patrice
Applied to u-boot-stm/next
Thanks
Patrice
Quoted 4 lines
_______________________________________________
Uboot-stm32 mailing list
Uboot-stm32 at st-md-mailman.stormreply.com
https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32