PCI: imx6: Simplify Kconfig depends on
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 11 Mar 2019 18:59:28 +0000 (18:59 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 5 Jul 2019 15:44:41 +0000 (16:44 +0100)
commit7e8ab1b268b1ab2d2956823f93c7f3c62b9c2b26
treeee033a4789ce6a7e3f77b0fbb8e3bb044af250ed
parentca98329d3b58ef636b8f455b0b1b6ac9c89738b2
PCI: imx6: Simplify Kconfig depends on

The imx6 driver can be used on imx6sx without enabling support for
imx6q or imx7d but the "depends on" condition doesn't allow that.

Instead of making the condition even longer just make it depend on
"ARCH_MXC || COMPILE_TEST" instead.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Lucas Stach <l.stach@pengutronix.de>
drivers/pci/controller/dwc/Kconfig