diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2021-03-16 14:37:00 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2021-04-14 16:06:19 +0100 |
commit | 0cab0aa14928ddf626d9e55944b59a3520187ac7 (patch) | |
tree | a803eeb7bfcda1b41df8c69db9a18f8c9a1fb436 /drivers/mfd/Kconfig | |
parent | 4502647e60cb4afd74f74d648bc2990954c1b73a (diff) |
mfd: Kconfig: ABX500_CORE should depend on ARCH_U8500
The ST-Ericsson ABX500 Mixed Signal IC family chips are only present on
ST-Ericsson U8500 Series platforms. Hence add a dependency on
ARCH_U8500, to prevent asking the user about this driver when
configuring a kernel without U8500 support.
Also, merely enabling CONFIG_COMPILE_TEST should not enable additional
code, and thus should not enable this driver by default.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index 2152126c5b0b..ffd616a17852 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1235,7 +1235,8 @@ config MFD_SC27XX_PMIC config ABX500_CORE bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions" - default y if ARCH_U8500 || COMPILE_TEST + depends on ARCH_U8500 || COMPILE_TEST + default y if ARCH_U8500 help Say yes here if you have the ABX500 Mixed Signal IC family chips. This core driver expose register access functions. |