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
+5 -2
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 */