Skip to content

Commit 2652113

Browse files
ffainellidavem330
authored andcommitted
net: ethernet: ti: Allow most drivers with COMPILE_TEST
Most of the TI drivers build just fine with COMPILE_TEST, cpmac (AR7) is the exception because it uses a header file from arch/mips/include/asm/mach-ar7/ar7.h and keystone netcp which requires help from drivers/soc/ti/ for queue management helpers. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 33fa382 commit 2652113

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/net/ethernet/ti/Kconfig

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if NET_VENDOR_TI
1818

1919
config TI_DAVINCI_EMAC
2020
tristate "TI DaVinci EMAC Support"
21-
depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 )
21+
depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
2222
select TI_DAVINCI_MDIO
2323
select TI_DAVINCI_CPDMA
2424
select PHYLIB
@@ -30,7 +30,7 @@ config TI_DAVINCI_EMAC
3030

3131
config TI_DAVINCI_MDIO
3232
tristate "TI DaVinci MDIO Support"
33-
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
33+
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
3434
select PHYLIB
3535
---help---
3636
This driver supports TI's DaVinci MDIO module.
@@ -40,7 +40,7 @@ config TI_DAVINCI_MDIO
4040

4141
config TI_DAVINCI_CPDMA
4242
tristate "TI DaVinci CPDMA Support"
43-
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
43+
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
4444
---help---
4545
This driver supports TI's DaVinci CPDMA dma engine.
4646

@@ -60,7 +60,7 @@ config TI_CPSW_ALE
6060

6161
config TI_CPSW
6262
tristate "TI CPSW Switch Support"
63-
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
63+
depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
6464
select TI_DAVINCI_CPDMA
6565
select TI_DAVINCI_MDIO
6666
select TI_CPSW_PHY_SEL
@@ -75,7 +75,7 @@ config TI_CPSW
7575

7676
config TI_CPTS
7777
bool "TI Common Platform Time Sync (CPTS) Support"
78-
depends on TI_CPSW || TI_KEYSTONE_NETCP
78+
depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
7979
depends on POSIX_TIMERS
8080
---help---
8181
This driver supports the Common Platform Time Sync unit of

0 commit comments

Comments
 (0)