]> git.ipfire.org Git - thirdparty/linux.git/commit
MIPS: move unselectable entries out of the "CPU type" choice
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 27 Jan 2024 16:23:09 +0000 (01:23 +0900)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 20 Feb 2024 12:36:34 +0000 (13:36 +0100)
commit5033ad566016bb9c3ea45d62c0a2244a6eb8d610
treef8c6804058554c8e97628d374f283c6e17f80888
parent5b7236c198a30d736a7664e26b09b5e3e8a914f4
MIPS: move unselectable entries out of the "CPU type" choice

Move the following entries out of the "CPU type" choice:

 - LOONGSON3_ENHANCEMENT
 - CPU_LOONGSON3_WORKAROUNDS
 - CPU_LOONGSON3_CPUCFG_EMULATION

These entries cannot be selected from the choice because they depend on
CPU_LOONGSON64, which is also located in the same choice.

In fact, Kconfig does not consider them as choice values because they
become children of CPU_LOOONGSON64 due to the automatic submenu creation
in menu_finalize().

However, it is hard to understand this behavior unless you are familiar
with the Kconfig internals.

"choice" should contain only selectable entries.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig