summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBo Gan <[email protected]>2025-12-18 02:42:42 -0800
committerAnup Patel <[email protected]>2025-12-21 21:02:44 +0530
commitfbff3a7e0784a5bd42e87656e6d50cea94dfcff5 (patch)
tree55791bc2f43476d556f6fe143ae385a9b528c794 /firmware
parente5797e0688c187168ed9632b955cbe68da97f7f7 (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 'firmware')
0 files changed, 0 insertions, 0 deletions