diff --git a/soc/mediatek/mtk_adsp/soc.c b/soc/mediatek/mtk_adsp/soc.c index a94d5bbc556..83e8de52344 100644 --- a/soc/mediatek/mtk_adsp/soc.c +++ b/soc/mediatek/mtk_adsp/soc.c @@ -3,6 +3,7 @@ */ #include +#include #include #include @@ -171,5 +172,8 @@ void c_boot(void) val = 0xffffffff; __asm__ volatile("wsr %0, INTCLEAR" :: "r"(val)); + /* Default console, a driver can override this later */ + __stdout_hook_install(arch_printk_char_out); + z_prep_c(); }