Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# Freescale device configuration
#

config CONFIG_NET_VENDOR_FREESCALE
	bool "Freescale devices"
	default y
	depends on CONFIG_FSL_SOC || CONFIG_QUICC_ENGINE || CONFIG_CPM1 || CONFIG_CPM2 || CONFIG_PPC_MPC512x || \
		   CONFIG_M523x || CONFIG_M527x || CONFIG_M5272 || CONFIG_M528x || CONFIG_M520x || CONFIG_M532x || \
		   CONFIG_ARCH_MXC || CONFIG_ARCH_MXS || (CONFIG_PPC_MPC52xx && CONFIG_PPC_BESTCOMM) || \
		   CONFIG_ARCH_LAYERSCAPE || CONFIG_COMPILE_TEST
	---help---
	  If you have a network (Ethernet) card belonging to this class, say Y.

	  Note that the answer to this question doesn't directly affect the
	  kernel: saying N will just cause the configurator to skip all
	  the questions about Freescale devices. If you say Y, you will be
	  asked for your specific card in the following questions.

if CONFIG_NET_VENDOR_FREESCALE

config CONFIG_FEC
	tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)"
	depends on (CONFIG_M523x || CONFIG_M527x || CONFIG_M5272 || CONFIG_M528x || CONFIG_M520x || CONFIG_M532x || \
		   CONFIG_ARCH_MXC || CONFIG_SOC_IMX28)
	default CONFIG_ARCH_MXC || CONFIG_SOC_IMX28 if CONFIG_ARM
	select CONFIG_PHYLIB
	imply CONFIG_PTP_1588_CLOCK
	---help---
	  Say Y here if you want to use the built-in 10/100 Fast ethernet
	  controller on some Motorola ColdFire and Freescale i.MX processors.

config CONFIG_FEC_MPC52xx
	tristate "FEC MPC52xx driver"
	depends on CONFIG_PPC_MPC52xx && CONFIG_PPC_BESTCOMM
	select CONFIG_CRC32
	select CONFIG_PHYLIB
	select CONFIG_PPC_BESTCOMM_FEC
	---help---
	  This option enables support for the MPC5200's on-chip
	  Fast Ethernet Controller
	  If compiled as module, it will be called fec_mpc52xx.

config CONFIG_FEC_MPC52xx_MDIO
	bool "FEC MPC52xx MDIO bus driver"
	depends on CONFIG_FEC_MPC52xx
	default y
	---help---
	  The MPC5200's CONFIG_FEC can connect to the Ethernet either with
	  an external CONFIG_MII PHY chip or 10 Mbps 7-wire interface
	  (Motorola? industry standard).
	  If your board uses an external PHY connected to CONFIG_FEC, enable this.
	  If not sure, enable.
	  If compiled as module, it will be called fec_mpc52xx_phy.

source "drivers/net/ethernet/freescale/fs_enet/Kconfig"
source "drivers/net/ethernet/freescale/fman/Kconfig"

config CONFIG_FSL_PQ_MDIO
	tristate "Freescale PQ MDIO"
	select CONFIG_PHYLIB
	---help---
	  This driver supports the CONFIG_MDIO bus used by the gianfar and CONFIG_UCC drivers.

config CONFIG_FSL_XGMAC_MDIO
	tristate "Freescale XGMAC MDIO"
	select CONFIG_PHYLIB
	depends on CONFIG_OF
	select CONFIG_OF_MDIO
	---help---
	  This driver supports the CONFIG_MDIO bus on the Fman 10G Ethernet MACs, and
	  on the FMan mEMAC (which supports both Clauses 22 and 45)

config CONFIG_UCC_GETH
	tristate "Freescale QE Gigabit Ethernet"
	depends on CONFIG_QUICC_ENGINE
	select CONFIG_FSL_PQ_MDIO
	select CONFIG_PHYLIB
	---help---
	  This driver supports the Gigabit Ethernet mode of the QUICC Engine,
	  which is available on some Freescale SOCs.

config CONFIG_UGETH_TX_ON_DEMAND
	bool "Transmit on Demand support"
	depends on CONFIG_UCC_GETH

config CONFIG_GIANFAR
	tristate "Gianfar Ethernet"
	depends on CONFIG_HAS_DMA
	select CONFIG_FSL_PQ_MDIO
	select CONFIG_PHYLIB
	select CONFIG_CRC32
	---help---
	  This driver supports the Gigabit TSEC on the MPC83xx, MPC85xx,
	  and MPC86xx family of chips, the eTSEC on LS1021A and the CONFIG_FEC
	  on the 8540.

source "drivers/net/ethernet/freescale/dpaa/Kconfig"

endif # CONFIG_NET_VENDOR_FREESCALE