diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 12:20:12 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 12:26:01 -0400 |
commit | 2a736066687168f17a5a92c3b08d16bafc464954 (patch) | |
tree | b540165bccc959115d170d64c187c5585fd852fb /common/spl/spl.c | |
parent | 73c6ff6aac9338cb1bb3dbf9af51377e9830a849 (diff) |
serial: Rename SERIAL_SUPPORT to SERIAL
Rename these options so that CONFIG_IS_ENABLED can be used with them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/spl/spl.c')
-rw-r--r-- | common/spl/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/spl.c b/common/spl/spl.c index d55d3c2848..2a9f54ef70 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -623,7 +623,7 @@ static int boot_from_devices(struct spl_image_info *spl_image, if (CONFIG_IS_ENABLED(SHOW_ERRORS)) ret = -ENXIO; loader = spl_ll_find_loader(bootdev); - if (CONFIG_IS_ENABLED(SERIAL_SUPPORT) && + if (CONFIG_IS_ENABLED(SERIAL) && CONFIG_IS_ENABLED(LIBCOMMON_SUPPORT) && !IS_ENABLED(CONFIG_SILENT_CONSOLE)) { if (loader) @@ -821,7 +821,7 @@ void board_init_r(gd_t *dummy1, ulong dummy2) */ void preloader_console_init(void) { -#ifdef CONFIG_SPL_SERIAL_SUPPORT +#ifdef CONFIG_SPL_SERIAL gd->baudrate = CONFIG_BAUDRATE; serial_init(); /* serial communications setup */ |