On 13 July 2018 at 09:21, Patrick Delaunay <patrick.delau...@st.com> wrote: > This patch save common LED property "default-state" value > in post bind of LED uclass. > The configuration for this default state is only performed when > led_default_state() is called; > It can be called in your board_init() > or it could added in init_sequence_r[] in future. > > Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> > --- > > drivers/led/led-uclass.c | 54 > ++++++++++++++++++++++++++++++++++++++++++++++++ > drivers/led/led_gpio.c | 8 ------- > include/led.h | 23 +++++++++++++++++++++ > 3 files changed, 77 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot