diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-04 18:13:53 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-04 18:13:53 +0300 |
| commit | 4c7286ef7cf3da1897085406f85564faac5185bb (patch) | |
| tree | 16c995f73a0f3e5d4056f79e17eda819e26692a3 /common/debug.c | |
| parent | c7df9ae5f60ef1d36a20dbfbb8b4b0f4cd1a601a (diff) | |
| download | kmi-4c7286ef7cf3da1897085406f85564faac5185bb.tar.gz kmi-4c7286ef7cf3da1897085406f85564faac5185bb.zip | |
remove misleading comment
Diffstat (limited to 'common/debug.c')
| -rw-r--r-- | common/debug.c | 6 |
1 files changed, 0 insertions, 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; |
