diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-10-10 16:11:26 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-13 22:49:11 +0200 |
commit | b7cb2ae72de706d2c435c4abea2b83a8acf18ca0 (patch) | |
tree | 3e55d2780a7b52b7e4928a417b730566889c7114 /board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | |
parent | eff76b10faba9f2896ac499457508d607a661f50 (diff) |
imx: tpc70: led: Enable LED default state
This change sets the default state of LEDs on TPC70.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c')
-rw-r--r-- | board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c index 144d2c58c4..7876a63068 100644 --- a/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c +++ b/board/k+p/kp_imx6q_tpc/kp_imx6q_tpc.c @@ -28,6 +28,7 @@ #include <netdev.h> #include <usb.h> #include <usb/ehci-ci.h> +#include <led.h> DECLARE_GLOBAL_DATA_PTR; @@ -291,6 +292,9 @@ int board_late_init(void) add_board_boot_modes(board_boot_modes); #endif + if (IS_ENABLED(CONFIG_LED)) + led_default_state(); + env_set("boardname", "kp-tpc"); env_set("boardsoc", "imx6q"); return 0; |