The functions were changed to take a base parameter, so they can be used
with PBL console instead of just DEBUG_LL. Update the comment to reflect
the current state of the code.
Fixes: e64990099c8f ("debug_ll ns16550: Add base address argument to register
functions")
Signed-off-by: Ahmad Fatoum <[email protected]>
---
include/debug_ll/ns16550.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/debug_ll/ns16550.h b/include/debug_ll/ns16550.h
index fce113574fd0..2bad7a43ca91 100644
--- a/include/debug_ll/ns16550.h
+++ b/include/debug_ll/ns16550.h
@@ -7,8 +7,8 @@
* Early debugging functions for the NS16550
* This file needs register access functions declared as:
*
- * uint8_t debug_ll_read_reg(int reg);
- * void debug_ll_write_reg(int reg, uint8_t val);
+ * uint8_t debug_ll_read_reg(void __iomem *base, int reg);
+ * void debug_ll_write_reg(void __iomem *base, int reg, uint8_t val);
*/
#define NS16550_THR 0x0
#define NS16550_RBR 0x0
--
2.39.2