mirror of https://github.com/thesofproject/sof.git
init: move interrupt_init after init_heap
Moves interrupt_init after init_heap. During interrupt initialization we need to allocate spinlock, so we need already initialized memory map. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
2ee7a24f97
commit
d31b7352d4
|
@ -30,8 +30,6 @@ int master_core_init(struct sof *sof)
|
|||
{
|
||||
int err;
|
||||
|
||||
interrupt_init();
|
||||
|
||||
/* init architecture */
|
||||
trace_point(TRACE_BOOT_ARCH);
|
||||
err = arch_init(sof);
|
||||
|
@ -43,6 +41,8 @@ int master_core_init(struct sof *sof)
|
|||
platform_init_memmap();
|
||||
init_heap(sof);
|
||||
|
||||
interrupt_init();
|
||||
|
||||
#if CONFIG_TRACE
|
||||
trace_point(TRACE_BOOT_SYS_TRACES);
|
||||
trace_init(sof);
|
||||
|
|
Loading…
Reference in New Issue