summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-08 00:07:35 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-09 23:51:09 +0000
commit58e3bc3410120882973830772beb0965ec8f69dd (patch)
tree0dcf68bc3b690091af050d6dbba054797a813359
parent3a11fc80b654ec38dcea7f041fc41009486c8e4e (diff)
downloadcoreboot-58e3bc3410120882973830772beb0965ec8f69dd.tar.xz
include/console/usb.h: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: I216f8459afc69ced98ea1859ee6b1f8e4d43bc4a Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43248 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
-rw-r--r--src/include/console/usb.h16
1 files changed, 0 insertions, 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_ */