diff options
| author | Simon Glass <[email protected]> | 2024-12-07 10:24:03 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-12 16:35:24 -0600 |
| commit | 3ef5246886fd63d3107f1c2d0c7538d7b376df8e (patch) | |
| tree | 65fc35d02c5b6b3087fa733cba5b9196f76c07af | |
| parent | e931f589257afa78d621dd7d360e0e7a25f2d47f (diff) | |
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 <[email protected]>
| -rw-r--r-- | common/spl/spl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index 7c57eb8539b..91ee07f7079 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -837,7 +837,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) */ void preloader_console_init(void) { -#ifdef CONFIG_SPL_SERIAL +#if CONFIG_IS_ENABLED(SERIAL) gd->baudrate = CONFIG_BAUDRATE; serial_init(); /* serial communications setup */ |
