arch/: Add rpmsg_serialini() call to every implementation of up_initialize() for rpmsg uart initialization.

This commit is contained in:
Xiang Xiao 2019-11-04 08:11:50 -06:00 committed by Gregory Nutt
parent a257a5e606
commit 800e12fc42
28 changed files with 134 additions and 0 deletions

View File

@ -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).
*/

View File

@ -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 */

View File

@ -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).
*/

View File

@ -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

View File

@ -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).
*/

View File

@ -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

View File

@ -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).
*/

View File

@ -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);

View File

@ -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);

View File

@ -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();

View File

@ -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);

View File

@ -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();

View File

@ -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).
*/

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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).
*/

View File

@ -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);

View File

@ -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 */

View File

@ -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);

View File

@ -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).
*/

View File

@ -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

View File

@ -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);

View File

@ -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).
*/

View File

@ -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).
*/

View File

@ -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

View File

@ -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).
*/

View File

@ -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