25 Aug, 2020
1 commit
-
Add a board specific function to be executed at the start of any net
related functionality. Can be used to initialize·any board specific
network requirements, before any network functionality is started.Issue: ALB-1755
Signed-off-by: Iustin Dumitrescu
05 Sep, 2019
1 commit
-
Align the board and driver prototype for board_interface_eth_init
to avoid execution issue (the interface_type parameter is defined
as int or phy_interface_t).To have a generic weak function (it should be reused by other driver)
I change the prototype to use directly udevice.This prototype is added in netdev.h to allow compilation check
and avoid warning when compiling with W=1 on file
board/st/stm32mp1/stm32mp1.cwarning: no previous prototype for 'board_interface_eth_init'\
[-Wmissing-prototypes]
int board_interface_eth_init(int interface_type, ....
^~~~~~~~~~~~~~~~~~~~~~~~Signed-off-by: Patrice Chotard
Signed-off-by: Patrick Delaunay
Acked-by: Joe Hershberger
26 Jul, 2019
1 commit
-
Now that we removed all legacy boards selecting TI_EMAC we can
completely convert the driver code to using the driver model.
This patch also updates all remaining users of davinci_emac.Signed-off-by: Bartosz Golaszewski
Tested-by: Adam Ford #am3517-evm & da850-evm
Reviewed-by: Ramon Fried
06 Nov, 2018
1 commit
-
The driver is based on the previous one and the code is only adapted
to fit the driver model. The support for the Faraday ftgmac100
controller is the same with MAC and MDIO bus support for RGMII/RMII
modes.Configuration is updated to enable compile again. At this stage, the
driver compiles but is not yet functional.Signed-off-by: Cédric Le Goater
Reviewed-by: Joel Stanley
Acked-by: Joe Hershberger
08 Aug, 2018
1 commit
-
The only platform left for the AU1x00 SoCs was the pb1x00 platform, an
apparent clone of the dbau1x00 platform. As pb1x00 had no listed
maintainer I am assuming that it is also orphaned. Remove this platform
and then remove the unused SoC support.Cc: Daniel Schwierzeck
Signed-off-by: Tom Rini
Reviewed-by: Daniel Schwierzeck
24 May, 2018
1 commit
-
Last user of this driver went away in June 2015 in commit
d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support")Signed-off-by: Tuomas Tynkkynen
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
14 Apr, 2018
1 commit
-
No need to provide two prototype for this function.
Use ulong for the first parameter, then this function
could be shared for DM/non DM case.Signed-off-by: Peng Fan
Acked-by: Joe Hershberger
23 Mar, 2018
1 commit
-
Last user of this driver went away in October 2014 in
commit d58a9451e7339ed4 ("ppc/arm: zap EMK boards").Signed-off-by: Tuomas Tynkkynen
Acked-by: Joe Hershberger
23 Feb, 2018
1 commit
-
ll_temac driver was used by Xilinx Microblaze big endian and
Xilinx ppc405/ppc440 SoCs.ppc support was removed by: "powerpc: remove 4xx support"
(sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed)
and Microblaze BE is not tested for a long time that's why this driver
can be removed because none is going to updated it to DM anyway.Signed-off-by: Michal Simek
Acked-by: Joe Hershberger
28 Jul, 2017
1 commit
-
commit 306dd7dabd64 ("net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH")
has broken the build of the fec_mxc driver with CONFIG_DM_ETH
enabled because it changed the parameters passed to *fec_get_miibus()
without changing the functions prototype.This patch fixes up the prototype of fec_get_miibus() for the DM_ETH case.
Signed-off-by: Lothar Waßmann
16 Jun, 2017
2 commits
-
we removed 82xx support. Missed some 82xx remains,
remove them now.Signed-off-by: Heiko Schocher
-
There was for long time no activity in the mpx5xxx area.
We need to go further and convert to Kconfig, but it
turned out, nobody is interested anymore in mpc5xxx,
so remove it.Signed-off-by: Heiko Schocher
06 Apr, 2017
1 commit
-
The SPARC architecture is currently unmaintained, remove.
Cc: Francois Retief
Signed-off-by: Tom Rini
25 May, 2016
1 commit
-
No boards are using this driver. Remove in preparation for a new
driver with integrated PHY support.Signed-off-by: Kevin Smith
Acked-by: Joe Hershberger
Cc: Prafulla Wadaskar
Cc: Albert ARIBAUD
Cc: Stefan Roese
Cc: Marek Vasut
27 Jan, 2016
3 commits
-
Move driver to DM.
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger -
Prepare for DM move.
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger -
Move driver to DM.
Signed-off-by: Michal Simek
Acked-by: Joe Hershberger
07 Dec, 2015
2 commits
-
- Enable DM_ETH by default for Zynq and ZynqMP
- Remove board_eth_init code
- Change miiphy_read function to return value instead of error code
based on DM requirement
- Do not enable EMIO DT support by defaultSigned-off-by: Michal Simek
Reviewed-by: Jagan Teki
Reviewed-by: Simon Glass
Reviewed-by: Bin Meng -
This function was used for OF init before DM.
Remove this function as the part of move to DM.Signed-off-by: Michal Simek
Reviewed-by: Simon Glass
Reviewed-by: Jagan Teki
12 Nov, 2015
1 commit
-
Zap the altera_tse_initialize() prototypes, since it is converted
to driver model.Signed-off-by: Thomas Chou
Reviewed-by: Marek Vasut
09 Sep, 2015
1 commit
-
This commit converts pch_gbe ethernet driver to driver model.
Since this driver is only used by Intel Crown Bay board, the
conversion does not keep the non-dm version.Signed-off-by: Bin Meng
Acked-by: Joe Hershberger
Acked-by: Simon Glass
04 May, 2015
2 commits
-
All sunxi boards now use the driver-model, so remove the non driver-model
code.Signed-off-by: Hans de Goede
Reviewed-by: Simon Glass
Acked-by: Ian Campbell -
netdev.h should not be included in driver-model enabled builds (doing so
causes compiler warnings about struct eth_driver not being declared), but
we do use sunxi_gmac_initialize in the driver-model case, so move it out of
netdev.h .Signed-off-by: Hans de Goede
Reviewed-by: Simon Glass
Acked-by: Ian Campbell
10 Apr, 2015
1 commit
-
Signed-off-by: Albert ARIBAUD (3ADEV)
25 Mar, 2015
1 commit
-
Add a new driver for the Gigabit Ethernet MAC found on Intel Topcliff
Platform Controller Hub. Tested under 10/100 half/full duplex and 1000
full duplex modes using ping and tftpboot commands.Signed-off-by: Bin Meng
Acked-by: Joe Hershberger
25 Feb, 2015
1 commit
-
These are still non-generic boards.
Signed-off-by: Masahiro Yamada
Cc: Greg Ungerer
Acked-by: Marek Vasut
21 Jan, 2015
1 commit
-
Use phys_addr_t for physical address declaration.
It is also unsigned type instead of sign.Signed-off-by: Michal Simek
23 Oct, 2014
1 commit
-
This patch adds support for the NETA ethernet controller which is integrated
in the Marvell Armada XP SoC's. This port is based on the Linux driver which
has been stripped of the in U-Boot unused portions.Tested on the Marvell MV78460 eval board db-78460-bp.
Signed-off-by: Stefan Roese
Cc: Joe Hershberger
Tested-by: Luka Perkov
30 Aug, 2014
1 commit
-
The Broadcom StarFighter2 Ethernet driver is used in multiple Broadcom
SoC(s) and:
- supports multiple MAC blocks,
- provides support for the Broadcom GMAC.
This driver requires MII and PHYLIB.Signed-off-by: Jiandong Zheng
Signed-off-by: Steve Rae
22 Aug, 2014
1 commit
-
The following configs are not defined at all:
- CONFIG_INCA_IP_SWITCH
- CONFIG_PBL2800_ETHER
- CONFIG_PHY_ICPLUSSigned-off-by: Masahiro Yamada
07 Jul, 2014
1 commit
-
There have been 3 versions of the sunxi_emac support patch during its
development. Somehow version 2 ended up in upstream u-boot where as
the u-boot-sunxi git repo got version 3.This bumps the version in upstream u-boot to version 3 of the patch:
- Initialize MII clock earlier so mii access to allow independent use
- Name change from WEMAC to EMAC to match mainline kernel & chip manual
- Cosmetic code cleanupSigned-off-by: Stefan Roese
Signed-off-by: Henrik Nordstrom
Signed-off-by: Oliver Schinagl
Signed-off-by: Hans de Goede
Acked-by: Ian Campbell
25 May, 2014
1 commit
-
Add support for the GMAC Ethernet controller on Allwinner A20 (sun7i)
processors. Enable for the Cubietruck.Signed-off-by: Chen-Yu Tsai
Signed-off-by: Jens Kuske
Signed-off-by: Ian Campbell
Reviewed-by: Marek Vasut
Reviewed-by: Tom Rini
20 Apr, 2014
1 commit
-
This is dead hardware and no one is interested in making the
necessary changes for upcoming features like generic board or
driver model.Signed-off-by: Daniel Schwierzeck
Cc: Wolfgang Denk
04 Mar, 2014
2 commits
-
Gem can be directly initialized from DTB.
Signed-off-by: Michal Simek
-
- Add xilinx_emaclite_of_init to netdev.h
- Remove global data pointer from the driver
- Add better handling for error state.Signed-off-by: Michal Simek
07 Feb, 2014
1 commit
-
With this change driver will benefit from existing phylib and thus
custom phy functionality implemented in the driver will go away:
* Instantiation of the driver is now much shorter - 2 parameters
instead of 4.
* Simplified phy management/functoinality in driver is replaced with
rich functionality of phylib.
* Support of custom phy initialization is now done with existing
"board_phy_config".Note that after this change some previously used config options
(driver-specific PHY configuration) will be obsolete and they are simply
substituted with similar options of phylib.For example:
* CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
by default.
* CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
automatically the first discovered on MDIO bus phy will be usedI believe there's no need now in "doc/README.designware_eth" because
user only needs to instantiate the driver with "designware_initialize"
whose prototype exists in "include/netdev.h".Cc: Joe Hershberger
Cc: Vipin Kumar
Cc: Stefan Roese
Cc: Mischa Jonker
Cc: Shiraz Hashim
Cc: Albert ARIBAUD
Cc: Amit Virdi
Cc: Sonic Zhang
Signed-off-by: Alexey Brodkin
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
25 Jun, 2013
2 commits
-
Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux.
However it has a weird DMA alignment issue:(1) Tx DMA Buffer Address:
1 bytes aligned: Invalid
2 bytes aligned: O.K
4 bytes aligned: O.K(2) Rx DMA Buffer Address:
1 bytes aligned: Invalid
2 bytes aligned: O.K
4 bytes aligned: Invalid!!!Signed-off-by: Kuo-Jung Su
Cc: Joe Hershberger
Cc: Tom Rini -
The device interface is 16 bits wide.
All the available packets are read from the incoming fifo.Signed-off-by: Roberto Cerati
Signed-off-by: Raffaele Recalcati
[voice.shen@atmel.com: address comments from review results]
[voice.shen@atmel.com: clean up for submit]
Signed-off-by: Bo Shen
Tested-by: Raffaele Recalcati