i.MX6: LEDs were not working because board_autoled_initialize() was not being called
This commit is contained in:
parent
4c08492c0f
commit
5d44fd6a00
@ -56,7 +56,11 @@ With this change, the NSH serial console works:
|
||||
But there are still no timer interrupts. LEDs do not appear to be working.
|
||||
|
||||
2016-05-17: Timer interrupts now work. This turned out to be just a minor
|
||||
bit setting error in the timer configuration.
|
||||
bit setting error in the timer configuration. Timer appears to be too fast
|
||||
be about a factor of three, however.
|
||||
|
||||
LEDs were not working simply because board_autoled_initialize() was not being
|
||||
called in the board startup logic.
|
||||
|
||||
Platform Features
|
||||
=================
|
||||
|
@ -80,6 +80,11 @@
|
||||
|
||||
void imx_board_initialize(void)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_LEDS
|
||||
/* Configure on-board LEDs if LED support has been selected. */
|
||||
|
||||
board_autoled_initialize();
|
||||
#endif
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user