mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
arch/xxx/src/common/up_initialize.c: Move up_pminitialize() after timer_initialize()
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user