aboutsummaryrefslogtreecommitdiff
path: root/board/st
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-04-10 19:14:01 +0200
committerPatrice Chotard <patrice.chotard@st.com>2020-04-15 09:10:12 +0200
commit71ba2cb0d678d2c29dadd5fcca61ce3942876ee6 (patch)
tree0c4f02f7915bce3a3e74a70f557db82de5bba41a /board/st
parentc5f3c63fb42961edadf06623b53372580c3f9043 (diff)
downloadu-boot-71ba2cb0d678d2c29dadd5fcca61ce3942876ee6.zip
u-boot-71ba2cb0d678d2c29dadd5fcca61ce3942876ee6.tar.gz
u-boot-71ba2cb0d678d2c29dadd5fcca61ce3942876ee6.tar.bz2
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/ Cc: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Marek Vasut <marex@denx.de> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'board/st')
-rw-r--r--board/st/stm32mp1/stm32mp1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
index 6c88402..45068b1 100644
--- a/board/st/stm32mp1/stm32mp1.c
+++ b/board/st/stm32mp1/stm32mp1.c
@@ -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;