arch: refine up_serialinit/up_earlyserialinit/rpmsg_serialinit
This commit is contained in:
parent
c5eab0dc8f
commit
b4cf5f5dab
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 **********************************************************************/
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 **************************************************/
|
||||
|
|
|
@ -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 **********************************************************/
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue