diff options
author | Masahiro Yamada <[email protected]> | 2024-02-04 17:10:04 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-03-07 21:47:48 +0000 |
commit | 8af2d2025d25870da73871abe3d1d93b6e903cc2 (patch) | |
tree | 2cbd37327612df52af8711ba4bb7c162579e2a6b /tools/perf/util | |
parent | 4a055328414cb511e12b2c54c8b26c1ba4645ae8 (diff) |
platform: goldfish: move the separate 'default' propery for CONFIG_GOLDFISH
Currently, there are two entries for CONFIG_GOLDFISH.
In arch/x86/Kconfig:
config GOLDFISH
def_bool y
depends on X86_GOLDFISH
In drivers/platform/goldfish/Kconfig:
menuconfig GOLDFISH
bool "Platform support for Goldfish virtual devices"
depends on HAS_IOMEM && HAS_DMA
While Kconfig allows multiple entries, it generally leads to tricky
code.
Prior to commit bd2f348db503 ("goldfish: refactor goldfish platform
configs"), CONFIG_GOLDFISH was an alias of CONFIG_X86_GOLDFISH.
After the mentioned commit added the second entry with a user prompt,
the former provides the 'default' property that is effective only when
X86_GOLDFISH=y.
Merge them tegether to clarify how it has worked in the past 8 years.
Cc: Greg Hackmann <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions