mturney mturney has uploaded this change for review.
sc7180: support bitbang UART w/gpio
Change-Id: I21b149500849eceea663d18a0880c6443ae47d9b
Signed-off-by: T Michael Turney <mturney@codeaurora.org>
---
M src/soc/qualcomm/sc7180/uart_bitbang.c
1 file changed, 2 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/35498/1
diff --git a/src/soc/qualcomm/sc7180/uart_bitbang.c b/src/soc/qualcomm/sc7180/uart_bitbang.c
index 813be89..fa0eac8 100644
--- a/src/soc/qualcomm/sc7180/uart_bitbang.c
+++ b/src/soc/qualcomm/sc7180/uart_bitbang.c
@@ -17,20 +17,14 @@
#include <console/uart.h>
#include <gpio.h>
#include <types.h>
-
-#if 0
-#define UART_TX_PIN GPIO(4)
-#else
#include <boot/coreboot_tables.h>
-gpio_t uart_gpio = { 0 };
-#define UART_TX_PIN uart_gpio
+
+#define UART_TX_PIN GPIO(44)
void uart_fill_lb(void *data)
{
}
-#endif
-
static void set_tx(int line_state)
{
To view, visit change 35498. To unsubscribe, or for help writing mail filters, visit settings.