[PATCH v3 0/3] serial: Support a disabled serial port

Simon Glass sjg at chromium.org
Wed Nov 20 17:03:33 CET 2024


Hi Caleb,

On Wed, 20 Nov 2024 at 08:56, Caleb Connolly <caleb.connolly at linaro.org> wrote:
>
> Hi Simon,
>
> On 20/11/2024 16:35, Simon Glass wrote:
> > 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.
>
> Why is the UART driver probed if coreboot doesn't provide the necessary
> info for it?

U-Boot doesn't do well without some sort of serial device. That could
perhaps be improved. But the point here is that we need a single
U-Boot build which can start from coreboot, regardless of what
coreboot decides to do.

>
> Couldn't you disable CONFIG_REQUIRE_SERIAL_CONSOLE and skip probing it?

No, because I want it to work if the serial info is available.

[..]

Regards,
SImon


More information about the U-Boot mailing list