soc: intel_apl_adsp: Tweak adsp initialization

Tweak ADSP initialization to catch early console output.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2020-08-26 15:48:06 +03:00 committed by Anas Nashif
commit 92a699155c

View file

@ -123,4 +123,5 @@ static int adsp_init(const struct device *dev)
return 0;
}
SYS_INIT(adsp_init, APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
/* Init after IPM initialization and before logging (uses memory windows) */
SYS_INIT(adsp_init, PRE_KERNEL_2, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);