u-boot/drivers/net
Simon Glass bcee8d6764 dm: gpio: Allow control of GPIO uclass in SPL
At present if CONFIG_SPL_GPIO_SUPPORT is enabled then the GPIO uclass
is included in SPL/TPL without any control for boards. Some boards may
want to disable this to reduce code size where GPIOs are not needed in
SPL or TPL.

Add a new Kconfig option to permit this. Default it to 'y' so that
existing boards work correctly.

Change existing uses of CONFIG_DM_GPIO to CONFIG_IS_ENABLED(DM_GPIO) to
preserve the current behaviour. Also update the 74x164 GPIO driver since
it cannot build with SPL.

This allows us to remove the hacks in config_uncmd_spl.h and
Makefile.uncmd_spl (eventually those files should be removed).

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-12-15 08:52:29 +08:00
..
fm crc32: Use the crc.h header for crc functions 2019-12-02 18:23:08 -05:00
fsl-mc common: Move command functions out of common.h 2019-12-02 18:25:02 -05:00
ldpaa_eth common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mscc_eswitch net: mscc: refactor mscc_miim 2019-07-15 13:32:25 -05:00
pfe_eth Fix typo in macros, "FIRMEWARE" -> "FIRMWARE" 2019-12-05 10:28:39 -05:00
phy drivers: net: aquantia: check system interface too when checking for link up 2019-12-09 09:47:43 -06:00
ti net: ti: am65-cpsw-nuss: Add new compatible for J721e 2019-12-09 09:47:43 -06:00
8390.h
ag7xxx.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
altera_tse.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
altera_tse.h net: altera_tse: add mSG-DMA support 2015-11-12 08:26:59 +08:00
armada100_fec.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
armada100_fec.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
at91_emac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ax88180.c Remove some merge markers 2016-10-23 18:33:18 -04:00
ax88180.h
ax88796.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ax88796.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm-sf2-eth-gmac.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
bcm-sf2-eth-gmac.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm-sf2-eth.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm-sf2-eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
bcm6348-eth.c net: add support for bcm6348-enet 2018-12-19 15:23:00 +01:00
bcm6368-eth.c net: bcm6368: fix restart flow issues 2019-01-16 13:56:43 +01:00
calxedaxgmac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cs8900.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
cs8900.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dc2114x.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00
designware.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
designware.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
dm9000x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dm9000x.h
dnet.c net: cosmetic: Fix var naming net <-> eth drivers 2015-04-18 11:11:33 -06:00
dnet.h
dwc_eth_qos.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
dwmac_socfpga.c net: designware: socfpga: adapt to Gen5 2019-02-18 13:00:53 +01:00
e1000.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
e1000.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
e1000_spi.c spi: Remove unused spi_init 2018-11-27 21:06:53 +05:30
eepro100.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
ep93xx_eth.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ep93xx_eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ethoc.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
fec_mxc.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
fec_mxc.h dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
fsl_enetc.c drivers: net: fsl_enetc: register internal MDIO bus 2019-12-09 09:47:43 -06:00
fsl_enetc.h drivers: net: fsl_enetc: use the new MDIO DM helper functions 2019-12-09 09:47:43 -06:00
fsl_enetc_mdio.c drivers: net: fsl_enetc_mdio: return with time-out if HW is stuck 2019-12-09 09:47:43 -06:00
fsl_mcdmafec.c common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
fsl_mdio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftgmac100.c net: ftgmac100: align RX/TX descriptors on ARCH_DMA_MINALIGN 2019-12-09 09:47:43 -06:00
ftgmac100.h net: ftgmac100: use the aligned() macro 2018-11-05 10:41:56 -06:00
ftmac100.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
ftmac100.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftmac110.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ftmac110.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gmac_rockchip.c net: gmac_rockchip: Add support for rk3308 2019-12-06 00:06:23 +08:00
higmacv300.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
Kconfig net: mvpp2: MVPP2 now needs MVMDIO 2019-12-09 09:47:42 -06:00
ks8851_mll.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ks8851_mll.h
lan91c96.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
lan91c96.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lpc32xx_eth.c net: lpc32xx: Use IRAM for transmit buffer 2019-04-26 18:58:20 -04:00
macb.c net: macb: let miiphy_read/_write pass arbitrary addresses 2019-12-09 09:47:42 -06:00
macb.h net: macb: add support for faster clk rates 2019-07-25 13:13:30 -05:00
Makefile drivers: net: add marvell MDIO driver 2019-09-04 11:37:19 -05:00
mcffec.c common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
mcfmii.c common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
mdio_mux_i2creg.c drivers: net: driver for MDIO muxes controlled over I2C 2019-09-04 11:37:19 -05:00
mdio_mux_sandbox.c test: dm: add a test for MDIO MUX DM uclass 2019-07-18 16:37:13 -05:00
mdio_sandbox.c test: dm_mdio: avoid out of bounds access 2019-09-04 11:37:19 -05:00
mpc8xx_fec.c common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
mt7628-eth.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mtk_eth.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
mtk_eth.h ethernet: MediaTek: add ethernet driver for MediaTek ARM-based SoCs 2019-01-14 17:43:18 -05:00
mvgbe.c net: mvgbe: fallback phy-mode to GMII 2019-01-24 11:35:29 -06:00
mvgbe.h net: mvgbe: convert to DM 2018-07-26 14:08:21 -05:00
mvmdio.c drivers: net: add marvell MDIO driver 2019-09-04 11:37:19 -05:00
mvneta.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
mvpp2.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
natsemi.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
ne2000.c
ne2000.h
ne2000_base.c Drop PCMCIA 2019-08-11 19:27:41 -04:00
ne2000_base.h
netconsole.c env: Move get_env_id() to env.h 2019-08-11 16:43:41 -04:00
ns8382x.c net.h: Include linux/if_ether.h to avoid duplication 2018-10-10 12:28:52 -05:00
pch_gbe.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
pch_gbe.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pcnet.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
pic32_eth.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
pic32_eth.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pic32_mdio.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ravb.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
rtl8139.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
rtl8169.c net: rtl8169: Support RTL-8168c/8111c 2019-12-09 09:47:42 -06:00
sandbox-raw-bus.c sandbox: net: Correct name copy in eth_raw_bus_post_bind() 2018-12-05 06:01:34 -07:00
sandbox-raw.c env: Move env_set() to env.h 2019-08-11 16:43:41 -04:00
sandbox.c regmap: fix regmap_read_poll_timeout warning about sandbox_timer_add_offset 2019-04-23 11:17:15 +02:00
sh_eth.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
sh_eth.h net: sh_eth: Fix 64bit build warnings 2019-08-09 23:15:01 +02:00
smc911x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smc911x.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smc91111.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
smc91111.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sni_ave.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
sun8i_emac.c dm: gpio: Allow control of GPIO uclass in SPL 2019-12-15 08:52:29 +08:00
sunxi_emac.c net: sunxi_emac: Add CLK support 2019-04-16 16:29:00 +05:30
tsec.c net: tsec: Change compatible strings to match Linux 2019-07-25 13:13:31 -05:00
uli526x.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vsc7385.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
vsc9953.c drivers/net/vsc9953: Initialize action RAM in VCAP complex 2018-06-13 13:54:16 -05:00
xilinx_axi_emac.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
xilinx_emaclite.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zynq_gem.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00