mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
committed by
Stefano Babic
parent
eff76b10fa
commit
b7cb2ae72d
@@ -28,6 +28,7 @@
|
|||||||
#include <netdev.h>
|
#include <netdev.h>
|
||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
#include <usb/ehci-ci.h>
|
#include <usb/ehci-ci.h>
|
||||||
|
#include <led.h>
|
||||||
|
|
||||||
DECLARE_GLOBAL_DATA_PTR;
|
DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
@@ -291,6 +292,9 @@ int board_late_init(void)
|
|||||||
add_board_boot_modes(board_boot_modes);
|
add_board_boot_modes(board_boot_modes);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (IS_ENABLED(CONFIG_LED))
|
||||||
|
led_default_state();
|
||||||
|
|
||||||
env_set("boardname", "kp-tpc");
|
env_set("boardname", "kp-tpc");
|
||||||
env_set("boardsoc", "imx6q");
|
env_set("boardsoc", "imx6q");
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user