summaryrefslogtreecommitdiff
path: root/src/soc/qualcomm/sdm845/uart_bitbang.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2020-11-10 16:02:16 -0800
committerJulius Werner <jwerner@chromium.org>2020-11-12 01:43:14 +0000
commit2b5bdaea630ecd35e22473816cd4000dd8f8916e (patch)
treebaeb8346c68d463515f67ca0ffc252722fa6da7a /src/soc/qualcomm/sdm845/uart_bitbang.c
parent9c50462fd7ce12cb9b3ef94f5bef39dcfa24ca6c (diff)
Delete soc/qualcomm/sdm845
Work on this SoC was abandoned and never finished. It's not really usable in its current state, so let's get rid of it. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I23453e3e47ac336ab61687004470e5e79172cafe Reviewed-on: https://review.coreboot.org/c/coreboot/+/47428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/qualcomm/sdm845/uart_bitbang.c')
-rw-r--r--src/soc/qualcomm/sdm845/uart_bitbang.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/soc/qualcomm/sdm845/uart_bitbang.c b/src/soc/qualcomm/sdm845/uart_bitbang.c
deleted file mode 100644
index 8d7138e5d1..0000000000
--- a/src/soc/qualcomm/sdm845/uart_bitbang.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-
-#include <console/uart.h>
-#include <gpio.h>
-
-#define UART_TX_PIN GPIO(4)
-
-static void set_tx(int line_state)
-{
- gpio_set(UART_TX_PIN, line_state);
-}
-
-void uart_init(unsigned int idx)
-{
- gpio_output(UART_TX_PIN, 1);
-}
-
-void uart_tx_byte(unsigned int idx, unsigned char data)
-{
- uart_bitbang_tx_byte(data, set_tx);
-}
-
-void uart_tx_flush(unsigned int idx)
-{
- /* unnecessary, PIO Tx means transaction is over when tx_byte returns */
-}
-
-unsigned char uart_rx_byte(unsigned int idx)
-{
- return 0; /* not implemented */
-}