[PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8

Subsystems: networking drivers, the rest

STALE2564d

3 messages, 2 authors, 2019-08-07 · open the first message on its own page

[PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8

From: Schrempf Frieder <hidden>
Date: 2019-08-07 11:44:17

From: Frieder Schrempf <redacted>

The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
To make use of it, append ARM64 to the list of dependencies.

Signed-off-by: Frieder Schrempf <redacted>
---
 drivers/net/ethernet/freescale/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig
index 6a7e8993119f..f7f4e073d955 100644
--- a/drivers/net/ethernet/freescale/Kconfig
+++ b/drivers/net/ethernet/freescale/Kconfig
@@ -23,7 +23,7 @@ if NET_VENDOR_FREESCALE
 config FEC
 	tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
 	depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \
-		   ARCH_MXC || SOC_IMX28 || COMPILE_TEST)
+		   ARCH_MXC || ARM64 || SOC_IMX28 || COMPILE_TEST)
 	default ARCH_MXC || SOC_IMX28 if ARM
 	select PHYLIB
 	imply PTP_1588_CLOCK
-- 
2.17.1

Re: [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8

From: Fabio Estevam <festevam@gmail.com>
Date: 2019-08-07 12:20:03

Hi Frieder,

On Wed, Aug 7, 2019 at 9:04 AM Schrempf Frieder
[off-list ref] wrote:
From: Frieder Schrempf <redacted>

The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
To make use of it, append ARM64 to the list of dependencies.
ARCH_MXC is also used by i.MX8, so there is no need for such change.

By the way: arch/arm64/configs/defconfig has CONFIG_FEC=y by default.

Re: [PATCH] net: fec: Allow the driver to be built for ARM64 SoCs such as i.MX8

From: Schrempf Frieder <hidden>
Date: 2019-08-07 13:25:56

On 07.08.19 14:20, Fabio Estevam wrote:
Hi Frieder,

On Wed, Aug 7, 2019 at 9:04 AM Schrempf Frieder
[off-list ref] wrote:
quoted
From: Frieder Schrempf <redacted>

The FEC ethernet controller is used in some ARM64 SoCs such as i.MX8.
To make use of it, append ARM64 to the list of dependencies.
ARCH_MXC is also used by i.MX8, so there is no need for such change.
You're right of course. I somehow managed to mess up my defconfig. I 
started over with a clean config from arch/arm64/configs/defconfig and 
everything seems fine now. Sorry for the noise.
By the way: arch/arm64/configs/defconfig has CONFIG_FEC=y by default.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help