]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "arch: arm/xen: add putc() for debugging"
authorTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 13:16:07 +0000 (09:16 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 23 Oct 2020 13:16:07 +0000 (09:16 -0400)
This reverts commit 3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/xen/hypercall.h

index 121ccfcc608f9eeb8cd23a51689a938e2cedc15e..a4fd077079a9a9949a04bb1181c0250422b5e903 100644 (file)
@@ -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 */