bus: qcom-ebi2: depend on ARCH_QCOM or COMPILE_TEST

This hides the option for people who do not want their Kconfig
vision cluttered (i.e. x86) and enables compile testing apart
from the supported main arch.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Linus Walleij 2016-10-04 13:56:19 +02:00 committed by Olof Johansson
parent 1b283eea62
commit 5fac7e8405

View File

@ -111,6 +111,7 @@ config OMAP_OCP2SCP
config QCOM_EBI2 config QCOM_EBI2
bool "Qualcomm External Bus Interface 2 (EBI2)" bool "Qualcomm External Bus Interface 2 (EBI2)"
depends on HAS_IOMEM depends on HAS_IOMEM
depends on ARCH_QCOM || COMPILE_TEST
help help
Say y here to enable support for the Qualcomm External Bus Say y here to enable support for the Qualcomm External Bus
Interface 2, which can be used to connect things like NAND Flash, Interface 2, which can be used to connect things like NAND Flash,