nucleo-h745zi/stm32_bringup.c: the cpuname should be the remote cpu name
The share memory name should be same, and the cpuname is the remote cpu name. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
This commit is contained in:
parent
21b02f176f
commit
514f020ace
|
@ -57,14 +57,14 @@
|
|||
void rpmsg_serialinit(void)
|
||||
{
|
||||
#ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM7
|
||||
uart_rpmsg_init("cm7", "proxy", 4096, false);
|
||||
uart_rpmsg_init("cm4", "proxy", 4096, false);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM4
|
||||
# ifdef CONFIG_RPMSG_UART_CONSOLE
|
||||
uart_rpmsg_init("cm4", "proxy", 4096, true);
|
||||
uart_rpmsg_init("cm7", "proxy", 4096, true);
|
||||
# else
|
||||
uart_rpmsg_init("cm4", "proxy", 4096, false);
|
||||
uart_rpmsg_init("cm7", "proxy", 4096, false);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
@ -104,9 +104,9 @@ int stm32_bringup(void)
|
|||
|
||||
#ifdef CONFIG_RPTUN
|
||||
# ifdef CONFIG_ARCH_CHIP_STM32H7_CORTEXM7
|
||||
stm32_rptun_init("cm7-shmem", "cm7");
|
||||
stm32_rptun_init("cm4-cm7-shmem", "cm4");
|
||||
# else
|
||||
stm32_rptun_init("cm4-shmem", "cm4");
|
||||
stm32_rptun_init("cm4-cm7-shmem", "cm7");
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue