diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-08 00:07:35 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-09 23:51:09 +0000 |
commit | 58e3bc3410120882973830772beb0965ec8f69dd (patch) | |
tree | 0dcf68bc3b690091af050d6dbba054797a813359 /src/include/console/usb.h | |
parent | 3a11fc80b654ec38dcea7f041fc41009486c8e4e (diff) |
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
Diffstat (limited to 'src/include/console/usb.h')
-rw-r--r-- | src/include/console/usb.h | 16 |
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_ */ |