drivers: net : cpsw: Update Kconfig for CPSW

CPSW is present in AM33xx, AM43xx, DRA7xx.
Updating the Kconfig to depend on ARCH_OMAP2PLUS instead of listing
all SoC's.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Lokesh Vutla 2014-12-04 10:24:29 +05:30 committed by David S. Miller
parent 4988bb4a3f
commit c8a73a3568

View File

@ -5,7 +5,7 @@
config NET_VENDOR_TI config NET_VENDOR_TI
bool "Texas Instruments (TI) devices" bool "Texas Instruments (TI) devices"
default y default y
depends on PCI || EISA || AR7 || (ARM && (ARCH_DAVINCI || ARCH_OMAP3 || SOC_AM33XX || ARCH_KEYSTONE)) depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
---help--- ---help---
If you have a network (Ethernet) card belonging to this class, say Y If you have a network (Ethernet) card belonging to this class, say Y
and read the Ethernet-HOWTO, available from and read the Ethernet-HOWTO, available from
@ -32,7 +32,7 @@ config TI_DAVINCI_EMAC
config TI_DAVINCI_MDIO config TI_DAVINCI_MDIO
tristate "TI DaVinci MDIO Support" tristate "TI DaVinci MDIO Support"
depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 || SOC_AM33XX || ARCH_KEYSTONE ) depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
select PHYLIB select PHYLIB
---help--- ---help---
This driver supports TI's DaVinci MDIO module. This driver supports TI's DaVinci MDIO module.
@ -42,7 +42,7 @@ config TI_DAVINCI_MDIO
config TI_DAVINCI_CPDMA config TI_DAVINCI_CPDMA
tristate "TI DaVinci CPDMA Support" tristate "TI DaVinci CPDMA Support"
depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 || SOC_AM33XX ) depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
---help--- ---help---
This driver supports TI's DaVinci CPDMA dma engine. This driver supports TI's DaVinci CPDMA dma engine.
@ -58,7 +58,7 @@ config TI_CPSW_PHY_SEL
config TI_CPSW config TI_CPSW
tristate "TI CPSW Switch Support" tristate "TI CPSW Switch Support"
depends on ARM && (ARCH_DAVINCI || SOC_AM33XX) depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
select TI_DAVINCI_CPDMA select TI_DAVINCI_CPDMA
select TI_DAVINCI_MDIO select TI_DAVINCI_MDIO
select TI_CPSW_PHY_SEL select TI_CPSW_PHY_SEL