diff options
| author | Bo Gan <[email protected]> | 2025-12-18 02:42:42 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2025-12-21 21:02:44 +0530 |
| commit | fbff3a7e0784a5bd42e87656e6d50cea94dfcff5 (patch) | |
| tree | 55791bc2f43476d556f6fe143ae385a9b528c794 /include/sbi_utils/cache | |
| parent | e5797e0688c187168ed9632b955cbe68da97f7f7 (diff) | |
lib: utils/serial: Support multiple UART8250 devices
Previously we assume only 1 UART8250 instance can be used. Now we support
multiple instances by introducing counterpart functions to putc/getc/init
which take an extra *dev parameter, and name them as uart8250_device_xyz()
The original functions without the *dev parameter will operate on the
default instance exactly the same as before, so no changes on the caller
is required.
Note: uart8250_device_init only does device initialization without the
console registration logic.
Signed-off-by: Bo Gan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'include/sbi_utils/cache')
0 files changed, 0 insertions, 0 deletions
