STM32F4-Discover: Initialize the ELF loaded in the board startup logic. From Leo aloe3132

This commit is contained in:
Gregory Nutt 2015-04-30 14:29:21 -06:00
parent 49415e7cc8
commit b2268c298b

View File

@ -154,5 +154,15 @@ int stm32_bringup(void)
}
#endif
#ifdef HAVE_ELF
/* Initialize the ELF binary loader */
ret = elf_initialize();
if (ret < 0)
{
sdbg("ERROR: Initialization of the ELF loader failed: %d\n", ret);
}
#endif
return ret;
}