Merge remote-tracking branch 'origin/master' into usbhub
This commit is contained in:
commit
d66eb8b23c
@ -154,5 +154,15 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
#define HAVE_USBMONITOR 1
|
#define HAVE_USBMONITOR 1
|
||||||
#define HAVE_SDIO 1
|
#define HAVE_SDIO 1
|
||||||
#define HAVE_RTC_DRIVER 1
|
#define HAVE_RTC_DRIVER 1
|
||||||
|
#define HAVE_ELF 1
|
||||||
|
|
||||||
/* Can't support USB host or device features if USB OTG FS is not enabled */
|
/* Can't support USB host or device features if USB OTG FS is not enabled */
|
||||||
|
|
||||||
@ -140,6 +141,13 @@
|
|||||||
# undef HAVE_RTC_DRIVER
|
# undef HAVE_RTC_DRIVER
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* ELF */
|
||||||
|
|
||||||
|
#if defined(CONFIG_BINFMT_DISABLE) || !defined(CONFIG_ELF)
|
||||||
|
# undef HAVE_ELF
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* STM32F4 Discovery GPIOs **************************************************/
|
/* STM32F4 Discovery GPIOs **************************************************/
|
||||||
/* LEDs */
|
/* LEDs */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user