diff options
Diffstat (limited to 'nuttx/arch/arm/src/imx/imx_boot.c')
-rw-r--r-- | nuttx/arch/arm/src/imx/imx_boot.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/imx/imx_boot.c b/nuttx/arch/arm/src/imx/imx_boot.c index 4979d7760..842050e15 100644 --- a/nuttx/arch/arm/src/imx/imx_boot.c +++ b/nuttx/arch/arm/src/imx/imx_boot.c @@ -41,6 +41,7 @@ #include <nuttx/config.h> #include <stdint.h> +#include "chip.h" #include "up_internal.h" #include "up_arch.h" @@ -210,4 +211,15 @@ void up_boot(void) /* Perform board-specific initialiation */ imx_boardinitialize(); + + /* Set up the board-specific LEDs */ + +#ifdef CONFIG_ARCH_LEDS + up_ledinit(); +#endif + /* Perform early serial initialization */ + +#ifdef CONFIG_USE_EARLYSERIALINIT + up_earlyserialinit(); +#endif } |