up_earlyserialinit is not used on these platforms
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1547 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
984389b679
commit
74ba2d3a59
@ -67,7 +67,6 @@
|
|||||||
|
|
||||||
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
|
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
|
||||||
# undef CONFIG_USE_SERIALDRIVER
|
# undef CONFIG_USE_SERIALDRIVER
|
||||||
# undef CONFIG_USE_EARLYSERIALINIT
|
|
||||||
# ifdef CONFIG_HAVE_LOWUARTINIT
|
# ifdef CONFIG_HAVE_LOWUARTINIT
|
||||||
# define CONFIG_USE_LOWUARTINIT 1
|
# define CONFIG_USE_LOWUARTINIT 1
|
||||||
# else
|
# else
|
||||||
@ -75,7 +74,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
|
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||||
# define CONFIG_USE_SERIALDRIVER 1
|
# define CONFIG_USE_SERIALDRIVER 1
|
||||||
# define CONFIG_USE_EARLYSERIALINIT 1
|
|
||||||
# undef CONFIG_USE_LOWUARTINIT
|
# undef CONFIG_USE_LOWUARTINIT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -125,10 +123,8 @@ void up_addregion(void);
|
|||||||
/* Defined in up_serial.c */
|
/* Defined in up_serial.c */
|
||||||
|
|
||||||
#ifdef CONFIG_USE_SERIALDRIVER
|
#ifdef CONFIG_USE_SERIALDRIVER
|
||||||
EXTERN void up_earlyserialinit(void);
|
|
||||||
EXTERN void up_serialinit(void);
|
EXTERN void up_serialinit(void);
|
||||||
#else
|
#else
|
||||||
# define up_earlyserialinit()
|
|
||||||
# define up_serialinit()
|
# define up_serialinit()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user