spl: Allow serial to be disabled in any XPL phase
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2024 17:24:03 +0000 (10:24 -0700)
committerTom Rini <trini@konsulko.com>
Thu, 12 Dec 2024 22:35:24 +0000 (16:35 -0600)
commit3ef5246886fd63d3107f1c2d0c7538d7b376df8e
tree65fc35d02c5b6b3087fa733cba5b9196f76c07af
parente931f589257afa78d621dd7d360e0e7a25f2d47f
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