arm/qemu_boot: add rpmsg syslog support for qemu armv7a

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
Bowen Wang 2024-02-27 14:00:51 +08:00 committed by Xiang Xiao
parent 00857c7fd9
commit 9e76bc610f
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,10 @@
# include <nuttx/fdt.h> # include <nuttx/fdt.h>
#endif #endif
#ifdef CONFIG_SYSLOG_RPMSG
static char g_syslog_rpmsg_buf[4096];
#endif
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions
****************************************************************************/ ****************************************************************************/
@ -75,6 +79,10 @@ void arm_boot(void)
arm_earlyserialinit(); arm_earlyserialinit();
#endif #endif
#ifdef CONFIG_SYSLOG_RPMSG
syslog_rpmsg_init_early(g_syslog_rpmsg_buf, sizeof(g_syslog_rpmsg_buf));
#endif
} }
#if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP) #if defined(CONFIG_ARM_PSCI) && defined(CONFIG_SMP)