mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Tom Rini
parent
1f5118b4d3
commit
17585e2dc3
@@ -690,7 +690,8 @@ static init_fnc_t init_sequence_r[] = {
|
||||
#ifdef CONFIG_DM
|
||||
initr_dm,
|
||||
#endif
|
||||
#if defined(CONFIG_ARM) || defined(CONFIG_NDS32) || defined(CONFIG_RISCV)
|
||||
#if defined(CONFIG_ARM) || defined(CONFIG_NDS32) || defined(CONFIG_RISCV) || \
|
||||
defined(CONFIG_SANDBOX)
|
||||
board_init, /* Setup chipselects */
|
||||
#endif
|
||||
/*
|
||||
|
Reference in New Issue
Block a user