| b21216f7 | 27-Sep-2025 |
Marek Vasut <marek.vasut+renesas@mailbox.org> |
feat(rcar): replace static rcar_putc pointer with static register offsets
Replace static rcar_putc pointer with static register offsets to make the driver more generic for future Renesas R-Car SoCs.
feat(rcar): replace static rcar_putc pointer with static register offsets
Replace static rcar_putc pointer with static register offsets to make the driver more generic for future Renesas R-Car SoCs. Introduce new function scif_console_set_regs() to assign SCIF registers into static variables, and call scif_console_set_regs() based on MODEMR register settings. Other SoCs might simply call scif_console_set_regs() with fixed register offsets.
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Change-Id: Ia13f8e098b2776b520d24daf7acb7538b1ef3feb
show more ...
|