arch/: Add rpmsg_serialini() call to every implementation of up_initialize() for rpmsg uart initialization.
This commit is contained in:
parent
a257a5e606
commit
800e12fc42
@ -200,6 +200,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -453,6 +453,12 @@ void up_earlyserialinit(void);
|
||||
# define up_earlyserialinit()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ARM_LWL_CONSOLE
|
||||
|
||||
/* Defined in src/common/up_lwl_console.c */
|
||||
|
@ -240,6 +240,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -154,6 +154,12 @@ void up_lowinit(void);
|
||||
void up_earlyserialinit(void);
|
||||
void up_serialinit(void);
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* Defined in drivers/lowconsole.c */
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
|
@ -162,6 +162,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -166,6 +166,12 @@ void hc_timer_initialize(void);
|
||||
void up_earlyserialinit(void);
|
||||
void up_serialinit(void);
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
void lowconsole_init(void);
|
||||
#else
|
||||
|
@ -164,6 +164,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -239,6 +239,8 @@ void up_lowputc(char ch);
|
||||
void up_earlyserialinit(void);
|
||||
void up_serialinit(void);
|
||||
|
||||
void rpmsg_serialinit(void);
|
||||
|
||||
/* System timer */
|
||||
|
||||
void mips_timer_initialize(void);
|
||||
|
@ -141,6 +141,14 @@ uint32_t *lm32_doirq(int irq, uint32_t *regs);
|
||||
|
||||
int lm32_swint(int irq, FAR void *context, FAR void *arg);
|
||||
|
||||
/* Rpmsg serial *************************************************************/
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* System timer *************************************************************/
|
||||
|
||||
void lm32_timer_initialize(void);
|
||||
|
@ -75,6 +75,10 @@ void up_initialize(void)
|
||||
|
||||
misoc_serial_initialize();
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the system timer */
|
||||
|
||||
misoc_timer_initialize();
|
||||
|
@ -141,6 +141,14 @@ uint32_t *minerva_doirq(int irq, uint32_t * regs);
|
||||
|
||||
int minerva_swint(int irq, FAR void *context, FAR void *arg);
|
||||
|
||||
/* Rpmsg serial *************************************************************/
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* System timer *************************************************************/
|
||||
|
||||
void minerva_timer_initialize(void);
|
||||
|
@ -75,6 +75,10 @@ void up_initialize(void)
|
||||
|
||||
misoc_serial_initialize();
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the system timer */
|
||||
|
||||
misoc_timer_initialize();
|
||||
|
@ -256,6 +256,10 @@ void up_initialize(void)
|
||||
|
||||
up_serialinit();
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -307,6 +307,12 @@ void up_earlyserialinit(void);
|
||||
# define up_earlyserialinit()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* Defined in drivers/lowconsole.c */
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
|
@ -145,6 +145,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver). NOTE that the naming implies that the console is a serial
|
||||
* driver. That is usually the case, however, if no UARTs are enabled, the
|
||||
|
@ -168,6 +168,12 @@ void up_vectorfiq(void);
|
||||
void up_earlyconsoleinit(void);
|
||||
void up_consoleinit(void);
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* Defined in drivers/lowconsole.c */
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
|
@ -147,6 +147,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -151,6 +151,8 @@ void up_lowputc(char ch);
|
||||
void up_puts(const char *str);
|
||||
void up_lowputs(const char *str);
|
||||
|
||||
void rpmsg_serialinit(void);
|
||||
|
||||
/* The OS start routine **************************************************/
|
||||
|
||||
void nx_start(void);
|
||||
|
@ -234,6 +234,10 @@ void up_initialize(void)
|
||||
note_register(); /* Non-standard /dev/note */
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
#if defined(USE_DEVCONSOLE)
|
||||
/* Start the simulated UART device */
|
||||
|
||||
|
@ -266,6 +266,14 @@ void sim_smp_hook(void);
|
||||
void up_timer_update(void);
|
||||
#endif
|
||||
|
||||
/* rpmsg_serialinit *******************************************************/
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* up_devconsole.c ********************************************************/
|
||||
|
||||
void up_devconsole(void);
|
||||
|
@ -164,6 +164,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -205,6 +205,12 @@ void up_addregion(void);
|
||||
void up_earlyserialinit(void);
|
||||
void up_serialinit(void);
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* Defined in drivers/lowconsole.c */
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
|
@ -332,6 +332,8 @@ void up_lowputc(char ch);
|
||||
void xtensa_early_serial_initialize(void);
|
||||
void xtensa_serial_initialize(void);
|
||||
|
||||
void rpmsg_serialinit(void);
|
||||
|
||||
/* System timer */
|
||||
|
||||
void xtensa_timer_initialize(void);
|
||||
|
@ -172,6 +172,10 @@ void up_initialize(void)
|
||||
xtensa_serial_initialize();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -164,6 +164,10 @@ void up_initialize(void)
|
||||
up_serialinit();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -158,6 +158,12 @@ void up_earlyserialinit(void);
|
||||
void up_serialinit(void);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
#ifdef USE_LOWCONSOLE
|
||||
void lowconsole_init(void);
|
||||
#endif
|
||||
|
@ -169,6 +169,10 @@ void up_initialize(void)
|
||||
z80_serial_initialize();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
rpmsg_serialinit();
|
||||
#endif
|
||||
|
||||
/* Initialize the console device driver (if it is other than the standard
|
||||
* serial driver).
|
||||
*/
|
||||
|
@ -138,6 +138,12 @@ void z80_serial_initialize(void);
|
||||
# define z80_serial_initialize()
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RPMSG_UART
|
||||
void rpmsg_serialinit(void);
|
||||
#else
|
||||
# define rpmsg_serialinit()
|
||||
#endif
|
||||
|
||||
/* Defined in drivers/lowconsole.c */
|
||||
|
||||
#ifdef CONFIG_DEV_LOWCONSOLE
|
||||
|
Loading…
x
Reference in New Issue
Block a user