[U-Boot,V1,4/6] net: Kconfig: FEC: Add dependency on i.MX8M
diff mbox series

Message ID 20191022034714.27781-5-peng.fan@nxp.com
State Accepted
Commit 81dc2ac557fd2ebe85026716f9af9d25279c1154
Delegated to: Stefano Babic
Headers show
Series
  • imx: imx8mm-evk: support eth
Related show

Commit Message

Peng Fan Oct. 22, 2019, 3:29 a.m. UTC
Make FEC driver could be used by i.MX8M when CONFIG_FEC_MXC defined
in defconfig.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 drivers/net/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Schrempf Frieder Oct. 23, 2019, 4:31 p.m. UTC | #1
On 22.10.19 05:29, Peng Fan wrote:
> Make FEC driver could be used by i.MX8M when CONFIG_FEC_MXC defined
> in defconfig.
> 
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>

> ---
>   drivers/net/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
> index 2ce3092db0..08cdd95727 100644
> --- a/drivers/net/Kconfig
> +++ b/drivers/net/Kconfig
> @@ -236,7 +236,7 @@ config FEC_MXC_MDIO_BASE
>   
>   config FEC_MXC
>   	bool "FEC Ethernet controller"
> -	depends on MX28 || MX5 || MX6 || MX7 || IMX8 || VF610
> +	depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610
>   	help
>   	  This driver supports the 10/100 Fast Ethernet controller for
>   	  NXP i.MX processors.
>

Patch
diff mbox series

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 2ce3092db0..08cdd95727 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -236,7 +236,7 @@  config FEC_MXC_MDIO_BASE
 
 config FEC_MXC
 	bool "FEC Ethernet controller"
-	depends on MX28 || MX5 || MX6 || MX7 || IMX8 || VF610
+	depends on MX28 || MX5 || MX6 || MX7 || IMX8 || IMX8M || VF610
 	help
 	  This driver supports the 10/100 Fast Ethernet controller for
 	  NXP i.MX processors.