RE: [PATCH 08/16] board: stm32mp1: update management of boot-led

2020-04-10 Thread Patrick DELAUNAY
Dear Anatolij > From: Anatolij Gustschin > Sent: mercredi 1 avril 2020 13:43 > > Hi Patrick, > > On Tue, 31 Mar 2020 18:04:25 +0200 > Patrick Delaunay patrick.delau...@st.com wrote: > ... > > @@ -648,8 +652,10 @@ int board_init(void) > > > > sysconf_init(); > > > > - if (CONFIG_IS_ENABLED

Re: [PATCH 08/16] board: stm32mp1: update management of boot-led

2020-04-01 Thread Anatolij Gustschin
Hi Patrick, On Tue, 31 Mar 2020 18:04:25 +0200 Patrick Delaunay patrick.delau...@st.com wrote: ... > @@ -648,8 +652,10 @@ int board_init(void) > > sysconf_init(); > > - if (CONFIG_IS_ENABLED(CONFIG_LED)) > + if (CONFIG_IS_ENABLED(CONFIG_LED)) { > led_default_state()

Re: [PATCH 08/16] board: stm32mp1: update management of boot-led

2020-04-01 Thread Wolfgang Denk
Dear Patrick Delaunay, In message <20200331180330.8.I15cb0a6245fb4cd5d23371683c2697f794adf306@changeid> you wrote: > Force boot-led ON and no more rely on default-state. > This patch avoid device-tree modification for U-Boot. ... > +#ifdef CONFIG_LED > struct udevice *dev; > int ret;

Re: [Uboot-stm32] [PATCH 08/16] board: stm32mp1: update management of boot-led

2020-04-01 Thread Patrice CHOTARD
Hi Patrick On 3/31/20 6:04 PM, Patrick Delaunay wrote: > Force boot-led ON and no more rely on default-state. > This patch avoid device-tree modification for U-Boot. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 > arch/arm/dts/stm32mp157c-ed1-u

[PATCH 08/16] board: stm32mp1: update management of boot-led

2020-03-31 Thread Patrick Delaunay
Force boot-led ON and no more rely on default-state. This patch avoid device-tree modification for U-Boot. Signed-off-by: Patrick Delaunay --- arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi | 4 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi | 4 board/st/stm32mp1/stm32mp1.c | 10 ++