]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sandbox: led: use new function to configure default state
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Jul 2018 14:37:09 +0000 (16:37 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 10 Aug 2018 14:27:32 +0000 (10:27 -0400)
commit17585e2dc33c23b3ea37daf485ced880c8fea3f8
treeae4705a14fb2f48d7d2cc5d4ae05ffd506c3a393
parent1f5118b4d38d9caaab4c451f974542297bd1e2a7
sandbox: led: use new function to configure default state

Initialize the led with the default state defined in device tree
in board_init and solve issue with test for led default state.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
board/sandbox/sandbox.c
common/board_r.c
test/dm/led.c