From 58e3bc3410120882973830772beb0965ec8f69dd Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 8 Jul 2020 00:07:35 +0200 Subject: include/console/usb.h: Drop dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This code is not even being build-tested. Drop it before it grows moss. Change-Id: I216f8459afc69ced98ea1859ee6b1f8e4d43bc4a Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/43248 Tested-by: build bot (Jenkins) Reviewed-by: Michael Niewöhner --- src/include/console/usb.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/include/console/usb.h b/src/include/console/usb.h index aaefe6b817..30591c2329 100644 --- a/src/include/console/usb.h +++ b/src/include/console/usb.h @@ -36,20 +36,4 @@ static inline void __usb_tx_byte(u8 data) {} static inline void __usb_tx_flush(void) {} #endif -/* */ -#if 0 && CONFIG(GDB_STUB) && \ - ((ENV_ROMSTAGE && CONFIG(USBDEBUG_IN_PRE_RAM)) \ - || ENV_RAMSTAGE) -static inline void __gdb_hw_init(void) { usbdebug_init(); } -static inline void __gdb_tx_byte(u8 data) -{ - usb_tx_byte(USB_PIPE_FOR_GDB, data); -} -static inline void __gdb_tx_flush(void) { usb_tx_flush(USB_PIPE_FOR_GDB); } -static inline u8 __gdb_rx_byte(void) -{ - return usb_rx_byte(USB_PIPE_FOR_GDB); -} -#endif - #endif /* _CONSOLE_USB_H_ */ -- cgit v1.2.3