[PATCH] mips: econet: fulfill unmet kconfig dependencies
From: Randy Dunlap
Date: Tue Aug 11 2026 - 23:27:36 EST
ECONET selects SERIAL_8250 even though its TTY dependency is not met.
ECONET selects SERIAL_OF_PLATFORM even though its TTY dependency is not
met.
ECONET selects EARLY_PRINTK_8250 even though its EARLY_PRINTK dependency
is not met.
Fix these kconfig warnings by adding selects for TTY and EARLY_PRINTK.
WARNING: unmet direct dependencies detected for SERIAL_8250
Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && !S390
Selected by [y]:
- ECONET [=y]
WARNING: unmet direct dependencies detected for SERIAL_OF_PLATFORM
Depends on [n]: TTY [=n] && HAS_IOMEM [=y] && SERIAL_8250 [=y] && OF [=y]
Selected by [y]:
- ECONET [=y]
WARNING: unmet direct dependencies detected for EARLY_PRINTK_8250
Depends on [n]: EARLY_PRINTK [=n] && USE_GENERIC_EARLY_PRINTK_8250 [=y]
Selected by [y]:
- ECONET [=y]
Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
---
Cc: Caleb James DeLisle <cjd@xxxxxxxx>
Cc: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
Cc: linux-mips@xxxxxxxxxxxxxxx
arch/mips/Kconfig | 2 ++
1 file changed, 2 insertions(+)
--- linux-next-20260810.orig/arch/mips/Kconfig
+++ linux-next-20260810/arch/mips/Kconfig
@@ -396,6 +396,7 @@ config ECONET
bool "EcoNet MIPS family"
select BOOT_RAW
select DEBUG_ZBOOT if DEBUG_KERNEL
+ select EARLY_PRINTK
select EARLY_PRINTK_8250
select ECONET_EN751221_TIMER
select SERIAL_8250
@@ -407,6 +408,7 @@ config ECONET
select SYS_SUPPORTS_32BIT_KERNEL
select SYS_SUPPORTS_MIPS16
select SYS_SUPPORTS_ZBOOT_UART16550
+ select TTY
select USE_GENERIC_EARLY_PRINTK_8250
select USE_OF
help