serial: Support a disabled serial port
Get series with b4
b4 am [email protected]Versions newest first
- v3 Latest3 patches 4 repliesIn review
Changes in v3 from the cover letter
- Put the feature behind a Kconfig
- Move the feature to the serial uclass, so any serial driver can use it
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | serial: Allow a serial port to be silent disableddrivers/ drivers/ include/ | +52 | 0 replies | |
| 2/3 | serial: ns16550: Avoid probing hardware when disableddrivers/ | +2 | 0 replies | |
| 3/3 | x86: coreboot: Make use of disabled consolearch/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] serial: Support a disabled serial port
This series provides a way to tell a serial UART that it can't actually work, at runtime. The main motivation is to deal with a coreboot feature where it does not provide UART details in the sysinfo structure unless the UART is also enabled in coreboot.
Attempts to introduce a way to enable a silent UART in coreboot have lead to a large amount of discussion but no result, sadly.
This series reworks a patch sent last year, which was not quite ready to be applied. A coreboot user (on irc) hit this problem, so it needs to be resolved.
Changes in v3:
- Put the feature behind a Kconfig
- Move the feature to the serial uclass, so any serial driver can use it
Changes in v2:
- Drop RFC tag since there were no comments
Simon Glass (3):
serial: Allow a serial port to be silent disabled
serial: ns16550: Avoid probing hardware when disabled
x86: coreboot: Make use of disabled console
arch/x86/cpu/coreboot/Kconfig | 1 + drivers/serial/Kconfig | 9 +++++++++ drivers/serial/ns16550.c | 3 ++- drivers/serial/serial-uclass.c | 19 ++++++++++++++++++- drivers/serial/serial_coreboot.c | 2 ++ include/serial.h | 25 +++++++++++++++++++++++++ 6 files changed, 57 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1