boards/arm/stm32/nucleo-f4x1re/src/stm32_boot.c: Fix some erroneous conditional compilation in board_late_initialize().

This commit is contained in:
Gregory Nutt 2019-11-04 14:20:15 -06:00
parent 7218f6431c
commit dc3ae12545
2 changed files with 4 additions and 2 deletions

View File

@ -76,7 +76,11 @@
int board_app_initialize(uintptr_t arg)
{
#ifdef CONFIG_BOARD_LATE_INITIALIZE
return OK;
#else
/* Perform board initialization here */
return stm32_bringup();
#endif
}

View File

@ -107,10 +107,8 @@ void stm32_boardinitialize(void)
#ifdef CONFIG_BOARD_LATE_INITIALIZE
void board_late_initialize(void)
{
#ifndef CONFIG_LIB_BOARDCTL
/* Perform board initialization here instead of from the board_app_initialize(). */
(void)stm32_bringup();
#endif
}
#endif