summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_xen.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-10-23 09:15:55 -0400
committerTom Rini <trini@konsulko.com>2020-10-23 09:15:55 -0400
commit467591b8d2677d298095a06df9b9e964bf221256 (patch)
treec05206b23028590ca666edd4be68004da7ce22b0 /drivers/serial/serial_xen.c
parent18261b8552232e342709e69eadec33090a7f04e4 (diff)
downloadu-boot-467591b8d2677d298095a06df9b9e964bf221256.tar.gz
u-boot-467591b8d2677d298095a06df9b9e964bf221256.tar.bz2
u-boot-467591b8d2677d298095a06df9b9e964bf221256.zip
Revert "serial: serial_xen: add DEBUG_UART support"
This reverts commit 82e21b391bd315f6fe0e0b79326af8a141e9cca7. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/serial/serial_xen.c')
-rw-r--r--drivers/serial/serial_xen.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/drivers/serial/serial_xen.c b/drivers/serial/serial_xen.c
index 34c90ece40..ed191829f0 100644
--- a/drivers/serial/serial_xen.c
+++ b/drivers/serial/serial_xen.c
@@ -5,7 +5,6 @@
*/
#include <common.h>
#include <cpu_func.h>
-#include <debug_uart.h>
#include <dm.h>
#include <serial.h>
#include <watchdog.h>
@@ -16,14 +15,11 @@
#include <xen/events.h>
#include <xen/interface/sched.h>
-#include <xen/interface/xen.h>
#include <xen/interface/hvm/hvm_op.h>
#include <xen/interface/hvm/params.h>
#include <xen/interface/io/console.h>
#include <xen/interface/io/ring.h>
-#include <asm/xen/hypercall.h>
-
DECLARE_GLOBAL_DATA_PTR;
u32 console_evtchn;
@@ -182,19 +178,3 @@ U_BOOT_DRIVER(serial_xen) = {
.flags = DM_FLAG_PRE_RELOC,
};
-#if defined(CONFIG_DEBUG_UART_XEN)
-static inline void _debug_uart_init(void) {}
-
-static inline void _debug_uart_putc(int c)
-{
-#if CONFIG_IS_ENABLED(ARM)
- xen_debug_putc(c);
-#else
- /* the type cast should work on LE only */
- HYPERVISOR_console_io(CONSOLEIO_write, 1, (char *)&ch);
-#endif
-}
-
-DEBUG_UART_FUNCS
-
-#endif