Why FS ENET depends on powerpc in latest bsp imx-5.4.24-2.1.0.xml?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why FS ENET depends on powerpc in latest bsp imx-5.4.24-2.1.0.xml?

487 Views
rakesh_patel
Senior Contributor I

Kernel config

----------------------------

│ Symbol: FS_ENET [=n] │
│ Type : tristate │
│ Prompt: Freescale Ethernet Driver │
│ Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Ethernet driver support (ETHERNET [=y]) │
│ (1) -> Freescale devices (NET_VENDOR_FREESCALE [=y]) │
│ Defined at drivers/net/ethernet/freescale/fs_enet/Kconfig:2 │
│ Depends on: NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_FREESCALE [=y] && (CPM1 || CPM2 || PPC_MPC512x)
│ Selects: MII [=y] && PHYLIB [=y]

 

More info

======

https://cateee.net/lkddb/web-lkddb/FS_ENET.html

 

Query:

======

Why(CPM1 || CPM2 || PPC_MPC512x) necessary for FS_ENET support? 

Labels (1)
0 Kudos
2 Replies

482 Views
jamesbone
NXP TechSupport
NXP TechSupport

Because the ENET module it is basically the same from the MPC512, it is the same IP, this means that we can reuse some of the code that it is avialable for the other device.

 

 

0 Kudos

473 Views
rakesh_patel
Senior Contributor I

@jamesbone :

If Arch is arm, then how we can enable PowerPC arch ?

 

Like..

./arch/powerpc/sysdev/Makefile:45:obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
./arch/powerpc/platforms/Makefile:10:obj-$(CONFIG_PPC_MPC512x) += 512x/

 

Can't we enabled FS NET directly ?

 

0 Kudos