From 4c7286ef7cf3da1897085406f85564faac5185bb Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 4 Jun 2023 18:13:53 +0300 Subject: remove misleading comment --- common/debug.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/debug.c b/common/debug.c index f3cacdf..7118733 100644 --- a/common/debug.c +++ b/common/debug.c @@ -110,12 +110,6 @@ vm_t map_io_dbg(struct vmem *b) */ static int __8250_tx_empty() { - /** - * @todo visionfive2 loops on lsr indefinitely, why? - * answer: because apparently visionfive2 uart has reg-shift = 2, - * meaning the registers are spaced apart more in memory than my naive - * struct. - * */ volatile uint8_t *lsr = (uint8_t *)dbg_info.base + (UART_8250_LSR << dbg_info.shift); return (*lsr) & LSR_THRE; -- cgit v1.3