summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-04-04 14:17:02 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-04-15 08:43:53 +0300
commit0c16b8fdfe0952ce6fb317c27dbd54e214e5ed6d (patch)
tree8f73bc16e14d73067c7de8759dc2ab662d6ca1ce
parent1f34b5a9f09696eaf464c6ed06a055ed9cde3425 (diff)
downloadlinux-0c16b8fdfe0952ce6fb317c27dbd54e214e5ed6d.tar.xz
memory: Simplify 'default' choice in Kconfig
'default y if FOO' can be written shorter (and it already is in other places). Link: https://lore.kernel.org/r/20250404111703.235455-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
-rw-r--r--drivers/memory/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index c82d8d8a16ea..0174cbc448b1 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -32,7 +32,7 @@ config ARM_PL172_MPMC
config ATMEL_EBI
bool "Atmel EBI driver"
- default y if ARCH_AT91
+ default ARCH_AT91
depends on ARCH_AT91 || COMPILE_TEST
depends on OF
select MFD_SYSCON
@@ -147,7 +147,7 @@ config FPGA_DFL_EMIF
config MVEBU_DEVBUS
bool "Marvell EBU Device Bus Controller"
- default y if PLAT_ORION
+ default PLAT_ORION
depends on PLAT_ORION || COMPILE_TEST
depends on OF
help
@@ -198,7 +198,7 @@ config DA8XX_DDRCTL
config PL353_SMC
tristate "ARM PL35X Static Memory Controller(SMC) driver"
- default y if ARM
+ default ARM
depends on ARM || COMPILE_TEST
depends on ARM_AMBA
help