arch: refine up_serialinit/up_earlyserialinit/rpmsg_serialinit

This commit is contained in:
liuhaitao 2020-02-23 18:12:07 +08:00 committed by Gregory Nutt
parent c5eab0dc8f
commit b4cf5f5dab
10 changed files with 34 additions and 33 deletions

View File

@ -430,20 +430,14 @@ void up_lowputs(const char *str);
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#else
# define up_serialinit()
#endif
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#else
# define up_earlyserialinit()
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
#ifdef CONFIG_ARM_LWL_CONSOLE

View File

@ -150,13 +150,16 @@ void up_lowinit(void);
/* Defined in chip/xxx_serial.c */
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#endif
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* Defined in chip/xxx_ethernet.c */

View File

@ -152,13 +152,16 @@ void up_sigdeliver(void);
/* Debug output */
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#endif
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
void up_lowputc(char ch);

View File

@ -242,10 +242,18 @@ void up_addregion(void);
/* Serial output */
void up_lowputc(char ch);
void up_earlyserialinit(void);
void up_serialinit(void);
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#endif
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#endif
/* Network */

View File

@ -285,20 +285,14 @@ void up_lowputs(const char *str);
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#else
# define up_serialinit()
#endif
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#else
# define up_earlyserialinit()
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* DMA **********************************************************************/

View File

@ -158,13 +158,16 @@ void up_vectorfiq(void);
/* Defined in xyz_serial.c */
#ifdef USE_EARLYSERIALINIT
void up_earlyconsoleinit(void);
#endif
#ifdef USE_SERIALDRIVER
void up_consoleinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* Defined in xyz_watchdog.c */

View File

@ -190,20 +190,14 @@ void up_lowputs(const char *str);
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#else
# define up_serialinit()
#endif
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#else
# define up_earlyserialinit()
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* The OS start routine **************************************************/

View File

@ -251,8 +251,6 @@ void up_timer_update(void);
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* up_devconsole.c **********************************************************/

View File

@ -195,13 +195,16 @@ void up_addregion(void);
/* Defined in xyz_serial.c */
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#endif
#ifdef USE_SERIALDRIVER
void up_serialinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* Defined in xyz_watchdog.c */

View File

@ -145,14 +145,15 @@ void up_addregion(void);
/* Defined in xyz_serial.c */
#ifdef USE_SERIALDRIVER
void up_earlyserialinit(void);
void up_serialinit(void);
#endif
#ifdef USE_EARLYSERIALINIT
void up_earlyserialinit(void);
#endif
#ifdef CONFIG_RPMSG_UART
void rpmsg_serialinit(void);
#else
# define rpmsg_serialinit()
#endif
/* Defined in xyz_irq.c */