summaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10/uart.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-04 20:32:59 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-04-30 06:59:37 +0200
commit28837c6b014dec37a3b4deeb8407469356b81e05 (patch)
treea00abf5d9d2d3460a4ffdfdc4d9ba190eb9af765 /src/cpu/allwinner/a10/uart.h
parent70342a7f51a0069446966c42db4dbc44f6db16ee (diff)
allwinner/a10: Hide SoC specific UART functions
If platform has a component coreboot has to communicate with using one of the UARTs, that device would not be part of the SoC and must not use functions specific to a10 UART. Change-Id: Ifacfc94dfde9979eae0b0cfb723a6eaa1fbcd659 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5469 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu/allwinner/a10/uart.h')
-rw-r--r--src/cpu/allwinner/a10/uart.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cpu/allwinner/a10/uart.h b/src/cpu/allwinner/a10/uart.h
index 86ab487e38..aa94362e03 100644
--- a/src/cpu/allwinner/a10/uart.h
+++ b/src/cpu/allwinner/a10/uart.h
@@ -13,7 +13,6 @@
#ifndef CPU_ALLWINNER_A10_UART_H
#define CPU_ALLWINNER_A10_UART_H
-#include "memmap.h"
#include <types.h>
struct a10_uart {
@@ -68,10 +67,4 @@ enum uart_parity {
UART_PARITY_ODD,
};
-void a10_uart_configure(void *uart_base, u32 baud_rate, u8 data_bits,
- enum uart_parity parity, u8 stop_bits);
-void a10_uart_enable_fifos(void *uart_base);
-u8 a10_uart_rx_blocking(void *uart_base);
-void a10_uart_tx_blocking(void *uart_base, u8 data);
-
#endif /* CPU_ALLWINNER_A10_UART_H */