mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL
CONFIG_CONSOLE_MUX and CONFIG_SYS_CONSOLE_IS_IN_ENV are not applicable for SPL. Update the console code to use CONFIG_IS_ENABLED(), so that these options will be inactive in SPL. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <serial.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#ifdef CONFIG_CONSOLE_MUX
|
||||
#if CONFIG_IS_ENABLED(CONSOLE_MUX)
|
||||
void iomux_printdevs(const int console)
|
||||
{
|
||||
int i;
|
||||
@@ -145,4 +145,4 @@ int iomux_doenv(const int console, const char *arg)
|
||||
free(cons_set);
|
||||
return 0;
|
||||
}
|
||||
#endif /* CONFIG_CONSOLE_MUX */
|
||||
#endif /* CONSOLE_MUX */
|
||||
|
Reference in New Issue
Block a user