]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mips: econet: Fix incorrect Kconfig dependencies
authorCaleb James DeLisle <cjd@cjdns.fr>
Wed, 21 May 2025 21:33:33 +0000 (21:33 +0000)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 25 May 2025 13:00:02 +0000 (15:00 +0200)
config ECONET selects SERIAL_OF_PLATFORM and that depends on SERIAL_8250
so we need to select SERIAL_8250 directly.
Also do not enable DEBUG_ZBOOT unless DEBUG_KERNEL is set.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505211654.CBdIsoTq-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202505211451.WRjyf3a9-lkp@intel.com/
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig

index c3dbdc808664568f129c96738d8b1f09b6c8626f..1e48184ecf1ec8e29c0a25de6452ece5da835e30 100644 (file)
@@ -395,9 +395,10 @@ config ECONET
        bool "EcoNet MIPS family"
        select BOOT_RAW
        select CPU_BIG_ENDIAN
-       select DEBUG_ZBOOT
+       select DEBUG_ZBOOT if DEBUG_KERNEL
        select EARLY_PRINTK_8250
        select ECONET_EN751221_TIMER
+       select SERIAL_8250
        select SERIAL_OF_PLATFORM
        select SYS_SUPPORTS_BIG_ENDIAN
        select SYS_HAS_CPU_MIPS32_R1