summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/src/z180/z180_lowscc.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-15 15:03:35 +0000
commit37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0 (patch)
treee483442aac82813e2174308c18e26629184cd6f0 /nuttx/arch/z80/src/z180/z180_lowscc.c
parent862ecc12715cd262c761451634583bb59e4e5157 (diff)
downloadpx4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.gz
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.tar.bz2
px4-nuttx-37e7ef6f42e3d8b27a78a6e96c8b147a8578a0c0.zip
Add z180 system timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5438 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/src/z180/z180_lowscc.c')
-rw-r--r--nuttx/arch/z80/src/z180/z180_lowscc.c39
1 files changed, 5 insertions, 34 deletions
diff --git a/nuttx/arch/z80/src/z180/z180_lowscc.c b/nuttx/arch/z80/src/z180/z180_lowscc.c
index e5d5171c1..f729355c6 100644
--- a/nuttx/arch/z80/src/z180/z180_lowscc.c
+++ b/nuttx/arch/z80/src/z180/z180_lowscc.c
@@ -91,20 +91,6 @@
****************************************************************************/
/****************************************************************************
- * Name: z180_scc_setbaud
- *
- * Description:
- *
- ****************************************************************************/
-
-#if defined(HAVE_SCC_CONSOLE) && !defined(CONFIG_SUPPRESS_UART_CONFIG)
-static void z180_scc_setbaud(void)
-{
-#warning "Missing logic"
-}
-#endif /* HAVE_SCC_CONSOLE && !CONFIG_SUPPRESS_UART_CONFIG */
-
-/****************************************************************************
* Public Functions
****************************************************************************/
@@ -112,34 +98,19 @@ static void z180_scc_setbaud(void)
* Name: z180_scc_lowinit
*
* Description:
- * Called early in the boot sequence to initialize the [E]SCC channel(s)
+ * Called early in the boot sequence to initialize the [E]SCC console
+ * channel (only).
*
****************************************************************************/
+#ifdef USE_LOWSERIALINIT
void z180_scc_lowinit(void)
{
-#warning "Missing logic"
-
- /* Configure for usage of {E]SCC channels (whether or not we have a console) */
-
-#ifdef CONFIG_Z180_SCC
-#warning "Missing logic"
-#endif
-
-#ifdef CONFIG_Z180_ESCCA
-#warning "Missing logic"
-#endif
-
-#ifdef CONFIG_Z180_ESCCB
+#ifdef HAVE_SCC_CONSOLE
#warning "Missing logic"
#endif
-
- /* Configure the console for immediate usage */
-
-#if defined(HAVE_SCC_CONSOLE) && !defined(CONFIG_SUPPRESS_UART_CONFIG)
-#warning "Missing logic"
-#endif /* HAVE_SCC_CONSOLE && !CONFIG_SUPPRESS_UART_CONFIG */
}
+#endif
/****************************************************************************
* Name: z180_putc