fmu-v5: Move stage 0 dcache disable to later in boot (#11791)

This commit is contained in:
David Sidrane 2019-04-04 08:07:28 -07:00 committed by Daniel Agar
parent 6f5c97f184
commit 46c4a68b62
2 changed files with 5 additions and 4 deletions

View File

@ -191,8 +191,6 @@ stm32_boardinitialize(void)
{
board_on_reset(-1); /* Reset PWM first thing */
board_configure_dcache(0);
/* configure LEDs */
board_autoled_initialize();
@ -232,6 +230,9 @@ stm32_boardinitialize(void)
__EXPORT int board_app_initialize(uintptr_t arg)
{
board_configure_dcache(0);
px4_platform_init();
/* configure the DMA allocator */

View File

@ -230,8 +230,6 @@ stm32_boardinitialize(void)
{
board_on_reset(-1); /* Reset PWM first thing */
board_configure_dcache(0);
/* configure LEDs */
board_autoled_initialize();
@ -281,6 +279,8 @@ __EXPORT int board_app_initialize(uintptr_t arg)
{
/* Power on Interfaces */
board_configure_dcache(0);
VDD_3V3_SD_CARD_EN(true);
VDD_5V_PERIPH_EN(true);
VDD_5V_HIPOWER_EN(true);