arch/xxx/src/common/up_initialize.c: Move up_pminitialize() after timer_initialize()

This commit is contained in:
ligd
2019-01-26 07:32:14 -06:00
committed by Gregory Nutt
parent e2544b7ddf
commit 5a6108c172
10 changed files with 62 additions and 62 deletions
+6 -6
View File
@@ -104,6 +104,12 @@ void up_initialize(void)
xtensa_irq_initialize();
#if !defined(CONFIG_SUPPRESS_INTERRUPTS) && !defined(CONFIG_SUPPRESS_TIMER_INTS)
/* Initialize the system timer interrupt */
xtensa_timer_initialize();
#endif
#ifdef CONFIG_PM
/* Initialize the power management subsystem. This MCU-specific function
* must be called *very* early in the initialization sequence *before* any
@@ -127,12 +133,6 @@ void up_initialize(void)
}
#endif
#if !defined(CONFIG_SUPPRESS_INTERRUPTS) && !defined(CONFIG_SUPPRESS_TIMER_INTS)
/* Initialize the system timer interrupt */
xtensa_timer_initialize();
#endif
#ifdef CONFIG_MM_IOB
/* Initialize IO buffering */