spl: Allow serial to be disabled in any XPL phase
authorSimon Glass <sjg@chromium.org>
Thu, 19 Dec 2024 18:28:58 +0000 (11:28 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 27 Dec 2024 21:16:10 +0000 (15:16 -0600)
commita7d4d119440f9e1b7c8c3806a2ebe2008f7785d7
tree025643c46ce78fca243b2f22d80d4b7835d9de01
parent5f158d8832cf10f76eed3277253ca7ff43df04d7
spl: Allow serial to be disabled in any XPL phase

The current check looks only at SPL, but TPL or VPL might have a
different setting. Update the condition.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/spl/spl.c