From: Tom Rini <trini@konsulko.com>
Date: Fri, 23 Oct 2020 13:16:07 +0000 (-0400)
Subject: Revert "arch: arm/xen: add putc() for debugging"
X-Git-Tag: v2025.01-rc5-pxa1908~2163^2~1
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=c3d3104506963eec94af80523e4a31808e52bda7;p=u-boot.git

Revert "arch: arm/xen: add putc() for debugging"

This reverts commit 3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7.

Signed-off-by: Tom Rini <trini@konsulko.com>
---

diff --git a/arch/arm/include/asm/xen/hypercall.h b/arch/arm/include/asm/xen/hypercall.h
index 121ccfcc60..a4fd077079 100644
--- a/arch/arm/include/asm/xen/hypercall.h
+++ b/arch/arm/include/asm/xen/hypercall.h
@@ -19,10 +19,4 @@ int HYPERVISOR_sched_op(int cmd, void *arg);
 int HYPERVISOR_event_channel_op(int cmd, void *arg);
 unsigned long HYPERVISOR_hvm_op(int op, void *arg);
 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
-
-static inline void xen_debug_putc(int c)
-{
-	register int v __asm__ ("x0") = c;
-	__asm__ __volatile__("hvc 0xfffe" : "=r" (v) : "0" (v));
-}
 #endif /* _ASM_ARM_XEN_HYPERCALL_H */