mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
serial: Remove CONFIG_SERIAL_MULTI from remaining sources
Remove the parts depending either on disabled CONFIG_SERIAL_MULTI or ifdefs around CONFIG_SERIAL_MULTI parts since CONFIG_SERIAL_MULTI is now enabled by default. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefan Roese <sr@denx.de>
This commit is contained in:
@@ -135,7 +135,6 @@ int iomux_doenv(const int console, const char *arg)
|
||||
*/
|
||||
if (console_assign(console, start[j]) < 0)
|
||||
continue;
|
||||
#ifdef CONFIG_SERIAL_MULTI
|
||||
/*
|
||||
* This was taken from common/cmd_nvedit.c.
|
||||
* This will never work because serial_assign() returns
|
||||
@@ -146,7 +145,6 @@ int iomux_doenv(const int console, const char *arg)
|
||||
*/
|
||||
if (serial_assign(start[j]) < 0)
|
||||
continue;
|
||||
#endif
|
||||
cons_set[cs_idx++] = dev;
|
||||
}
|
||||
free(console_args);
|
||||
|
Reference in New Issue
Block a user