aboutsummaryrefslogtreecommitdiff
path: root/board/bosch/guardian/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bosch/guardian/board.c')
-rw-r--r--board/bosch/guardian/board.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c
index 32ebaf42317..03ba9e8c5ec 100644
--- a/board/bosch/guardian/board.c
+++ b/board/bosch/guardian/board.c
@@ -14,6 +14,7 @@
#include <env_internal.h>
#include <errno.h>
#include <i2c.h>
+#include <led.h>
#include <miiphy.h>
#include <panel.h>
#include <power/tps65217.h>
@@ -232,6 +233,9 @@ err:
int board_late_init(void)
{
+#ifdef CONFIG_LED_GPIO
+ led_default_state();
+#endif
set_bootmode_env();
return 0;
}