mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 22:33:18 +00:00
cd348efa6c
The memac for PHY management on little endian SoCs is similar on big endian SoCs, so we modify the driver by using I/O accessor function to handle the endianness, so the driver can be reused on little endian SoCs, we introduce CONFIG_SYS_MEMAC_LITTLE_ENDIAN for little endian SoCs, if the CONFIG_SYS_MEMAC_LITTLE_ENDIAN is defined, the I/O access is little endian, if not, the I/O access is big endian. Move fsl_memac.h out of powerpc include. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com>
74 lines
2.8 KiB
Makefile
74 lines
2.8 KiB
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o
|
|
obj-$(CONFIG_ALTERA_TSE) += altera_tse.o
|
|
obj-$(CONFIG_ARMADA100_FEC) += armada100_fec.o
|
|
obj-$(CONFIG_DRIVER_AT91EMAC) += at91_emac.o
|
|
obj-$(CONFIG_DRIVER_AX88180) += ax88180.o
|
|
obj-$(CONFIG_BCM_SF2_ETH) += bcm-sf2-eth.o
|
|
obj-$(CONFIG_BCM_SF2_ETH_GMAC) += bcm-sf2-eth-gmac.o
|
|
obj-$(CONFIG_BFIN_MAC) += bfin_mac.o
|
|
obj-$(CONFIG_CALXEDA_XGMAC) += calxedaxgmac.o
|
|
obj-$(CONFIG_CS8900) += cs8900.o
|
|
obj-$(CONFIG_TULIP) += dc2114x.o
|
|
obj-$(CONFIG_ETH_DESIGNWARE) += designware.o
|
|
obj-$(CONFIG_DRIVER_DM9000) += dm9000x.o
|
|
obj-$(CONFIG_DNET) += dnet.o
|
|
obj-$(CONFIG_E1000) += e1000.o
|
|
obj-$(CONFIG_E1000_SPI) += e1000_spi.o
|
|
obj-$(CONFIG_EEPRO100) += eepro100.o
|
|
obj-$(CONFIG_SUNXI_EMAC) += sunxi_emac.o
|
|
obj-$(CONFIG_ENC28J60) += enc28j60.o
|
|
obj-$(CONFIG_EP93XX) += ep93xx_eth.o
|
|
obj-$(CONFIG_ETHOC) += ethoc.o
|
|
obj-$(CONFIG_FEC_MXC) += fec_mxc.o
|
|
obj-$(CONFIG_FSLDMAFEC) += fsl_mcdmafec.o mcfmii.o
|
|
obj-$(CONFIG_FTGMAC100) += ftgmac100.o
|
|
obj-$(CONFIG_FTMAC110) += ftmac110.o
|
|
obj-$(CONFIG_FTMAC100) += ftmac100.o
|
|
obj-$(CONFIG_GRETH) += greth.o
|
|
obj-$(CONFIG_DRIVER_TI_KEYSTONE_NET) += keystone_net.o
|
|
obj-$(CONFIG_KS8851_MLL) += ks8851_mll.o
|
|
obj-$(CONFIG_LAN91C96) += lan91c96.o
|
|
obj-$(CONFIG_LPC32XX_ETH) += lpc32xx_eth.o
|
|
obj-$(CONFIG_MACB) += macb.o
|
|
obj-$(CONFIG_MCFFEC) += mcffec.o mcfmii.o
|
|
obj-$(CONFIG_MPC5xxx_FEC) += mpc5xxx_fec.o
|
|
obj-$(CONFIG_MPC512x_FEC) += mpc512x_fec.o
|
|
obj-$(CONFIG_MVGBE) += mvgbe.o
|
|
obj-$(CONFIG_MVNETA) += mvneta.o
|
|
obj-$(CONFIG_NATSEMI) += natsemi.o
|
|
obj-$(CONFIG_DRIVER_NE2000) += ne2000.o ne2000_base.o
|
|
obj-$(CONFIG_DRIVER_AX88796L) += ax88796.o ne2000_base.o
|
|
obj-$(CONFIG_NETCONSOLE) += netconsole.o
|
|
obj-$(CONFIG_NS8382X) += ns8382x.o
|
|
obj-$(CONFIG_PCH_GBE) += pch_gbe.o
|
|
obj-$(CONFIG_PCNET) += pcnet.o
|
|
obj-$(CONFIG_RTL8139) += rtl8139.o
|
|
obj-$(CONFIG_RTL8169) += rtl8169.o
|
|
obj-$(CONFIG_ETH_SANDBOX) += sandbox.o
|
|
obj-$(CONFIG_ETH_SANDBOX_RAW) += sandbox-raw.o
|
|
obj-$(CONFIG_SH_ETHER) += sh_eth.o
|
|
obj-$(CONFIG_SMC91111) += smc91111.o
|
|
obj-$(CONFIG_SMC911X) += smc911x.o
|
|
obj-$(CONFIG_DRIVER_TI_EMAC) += davinci_emac.o
|
|
obj-$(CONFIG_TSEC_ENET) += tsec.o fsl_mdio.o
|
|
obj-$(CONFIG_DRIVER_TI_CPSW) += cpsw.o
|
|
obj-$(CONFIG_FMAN_ENET) += fsl_mdio.o
|
|
obj-$(CONFIG_TSI108_ETH) += tsi108_eth.o
|
|
obj-$(CONFIG_ULI526X) += uli526x.o
|
|
obj-$(CONFIG_VSC7385_ENET) += vsc7385.o
|
|
obj-$(CONFIG_XILINX_AXIEMAC) += xilinx_axi_emac.o
|
|
obj-$(CONFIG_XILINX_EMACLITE) += xilinx_emaclite.o
|
|
obj-$(CONFIG_XILINX_LL_TEMAC) += xilinx_ll_temac.o xilinx_ll_temac_mdio.o \
|
|
xilinx_ll_temac_fifo.o xilinx_ll_temac_sdma.o
|
|
obj-$(CONFIG_ZYNQ_GEM) += zynq_gem.o
|
|
obj-$(CONFIG_FSL_MC_ENET) += fsl-mc/
|
|
obj-$(CONFIG_FSL_MC_ENET) += ldpaa_eth/
|
|
obj-$(CONFIG_FSL_MEMAC) += fm/memac_phy.o
|
|
obj-$(CONFIG_VSC9953) += vsc9953.o
|