25 Jan, 2019
1 commit
-
Some existing device trees don't specify a phy-mode so fallback to GMII
when a phy-mode is not provided.Signed-off-by: Chris Packham
Reviewed-by: Stefan Roese
Acked-by: Joe Hershberger
27 Jul, 2018
2 commits
-
Add driver model support to the mvgbe driver. As a temporary measure
both DM and non-DM uses are supported. Once all the users have been
converted the non-DM support can be dropped.Signed-off-by: Chris Packham
Tested-by: Michael Walle
Acked-by: Joe Hershberger -
Extract some function bodies to helper functions that can be reused in
the DM/non-DM implementations.Signed-off-by: Chris Packham
Acked-by: Joe Hershberger
14 Jun, 2018
1 commit
-
Combine repeated code from smi_reg_read/smi_reg_write into a common
function smi_wait_ready.Reviewed-by: Stefan Roese
Signed-off-by: Chris Packham
Acked-by: Joe Hershberger
15 May, 2018
1 commit
-
Nothing defines CONFIG_DOVE so remove the code that uses it.
Signed-off-by: Chris Packham
Reviewed-by: Stefan Roese
Acked-by: Joe Hershberger
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
08 Nov, 2016
1 commit
-
Commit 5a49f17481bb ("net: mii: Use spatch to update miiphy_register")
updated the mvgbe implementation of smi_reg_read/smi_reg_write. Prior to
that change mvgbe_phy_read and mvgbe_phy_write where used as wrappers to
satisfy the phylib APIs. Because these functions weren't updated in that
commit build errors where triggered when CONFIG_PHYLIB was enabled.Fix these build errors by removing mvgbe_phy_read and mvgbe_phy_write
and using smi_reg_read/smi_reg_write directly.Signed-off-by: Chris Packham
Acked-by: Joe Hershberger
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
16 Aug, 2016
1 commit
-
Run scripts/coccinelle/net/mdio_register.cocci on the U-Boot code base.
Signed-off-by: Joe Hershberger
Reviewed-by: Bin Meng
15 Jan, 2016
1 commit
-
With format-security errors turned on, GCC picks up the use of sprintf with
a format parameter not being a string literal.Simple uses of sprintf are also converted to use strcpy.
Signed-off-by: Ben Whitten
Acked-by: Wolfgang Denk
Reviewed-by: Tom Rini
19 Apr, 2015
1 commit
-
Update the naming convention used in the network stack functions and
variables that Ethernet drivers use to interact with it.This cleans up the temporary hacks that were added to this interface
along with the DM support.This patch has a few remaining checkpatch.pl failures that would be out
of the scope of this patch to fix (drivers that are in gross violation
of checkpatch.pl).Signed-off-by: Joe Hershberger
Acked-by: Simon Glass
26 Jan, 2015
1 commit
-
Each board with defines it's own set of values. If we do not define
CONFIG_MVGBE_PORTS we will hit following error:mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:700:34: error: 'CONFIG_MVGBE_PORTS' undeclared (first use in this function)
u8 used_ports[MAX_MVGBE_DEVS] = CONFIG_MVGBE_PORTS;This patch fixes above described problem.
Signed-off-by: Luka Perkov
Acked-by: Prafulla Wadaskar
23 Oct, 2014
1 commit
-
This move makes is possible to use this header not only from kirkwood
platforms but from all Marvell mvebu platforms.Signed-off-by: Stefan Roese
Tested-by: Luka Perkov
Acked-by: Prafulla Wadaskar
23 Nov, 2013
1 commit
-
Avoid a recently introduced unused variable warning for boards that
use mvgbe but not phylib.Signed-off-by: Sascha Silbe
Patch: 266334
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
-
Marvell Dove also uses mvgbe as ethernet driver, therefore add support
for Dove to reuse the current driver.Signed-off-by: Sebastian Hesselbarth
-
This add phylib support to the Marvell GBE driver.
Signed-off-by: Sebastian Hesselbarth
24 May, 2012
1 commit
-
These are all the files which use the API incorrectly but did not get
built using MAKEALL -a powerpc|arm. I have no compiler for them, but
the remaining issues should be far less than without this patch.Any outstanding issues are left to the maintainers of boards that use
these drivers.Signed-off-by: Joe Hershberger
04 Apr, 2012
1 commit
-
Some baords may use the GBE interface but they have no
phy connected to the interface and a direct MAC/MAC interface.
For them we need to get rid of compiler warnings.Signed-off-by: Stefan Bigler
Signed-off-by: Valentin Longchamp
Acked-by: Prafulla Wadaskar
19 Mar, 2012
1 commit
-
A few subsystems are using the same define "NAMESIZE". This has been
working so far because they define it to the same number. However, I
want to change the size of eth_device's NAMESIZE, so rather than tweak
the define names, simply drop references to it. Almost no one does,
and the handful that do can easily be changed to a sizeof().Signed-off-by: Mike Frysinger
21 Dec, 2011
1 commit
-
A network driver should not touch the environment at all. This patch fixes
this behaviour by removing the code for setting a default/randomized MAC
address.Signed-off-by: Michael Walle
Acked-by: Mike Frysinger
Acked-by: Prafulla Wadaskar
Cc: Mike Frysinger
Cc: Prafulla Wadaskar
Cc: Valentin Longchamp
Cc: Eric Cooper
Cc: Jason Cooper
Cc: Siddarth Gore
Cc: Albert ARIBAUD
Cc: Simon Guinot
Acked-by: Prafulla Wadaskar
06 Dec, 2011
1 commit
-
Fix:
mvgbe.c: In function 'mvgbe_send':
mvgbe.c:555:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]
mvgbe.c: In function 'mvgbe_recv':
mvgbe.c:640:2: warning: dereferencing type-punned pointer will
break strict-aliasing rules [-Wstrict-aliasing]Signed-off-by: Anatolij Gustschin
Cc: Prafulla Wadaskar
Acked-By: Prafulla Wadaskar
04 Nov, 2011
1 commit
-
Fix build problem:
mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'
dockstar.c: In function 'board_early_init_f':
dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'
dockstar.c: In function 'board_init':
dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'
dockstar.c: In function 'set_leds':
dockstar.c:161: warning: implicit declaration of function 'readl'
dockstar.c:161: error: dereferencing pointer to incomplete type
dockstar.c:162: warning: implicit declaration of function 'writel'
dockstar.c:162: error: dereferencing pointer to incomplete type
dockstar.c:163: error: dereferencing pointer to incomplete type
dockstar.c:164: error: dereferencing pointer to incomplete type
make[1]: *** [dockstar.o] Error 1
make: *** [board/Seagate/dockstar/libdockstar.o] Error 2Reported-by: Roland Kletzing
Signed-off-by: Anatolij Gustschin
Cc: Albert ARIBAUD
Cc: Prafulla Wadaskar
28 Oct, 2011
1 commit
-
For files like the drivers/serial/serial.c, it must include the
platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the
definition in the platform definition files.Include the platform definition file in the config file, so that it
would decouple the dependence for the driver files.Signed-off-by: Lei Wen
10 Aug, 2010
1 commit
-
The driver name does not need to be writable, so constify it.
Signed-off-by: Mike Frysinger
Signed-off-by: Ben Warren
13 Jul, 2010
3 commits
-
Add definitions and initialization in orion5x for mvgbe.
Add orion5x in mvgbe SoC includes.Signed-off-by: Albert Aribaud
Acked-by: Prafulla Wadaskar
Signed-off-by: Ben Warren -
Rename all references to kirkwood in mvgbe symbols
throughout the whole codebase.Signed-off-by: Albert Aribaud
Acked-by: Prafulla Wadaskar
Signed-off-by: Ben Warren -
Rename kirkwood_egiga.* to mvgbe.* and adjust makefile
and #include accordingly.Signed-off-by: Albert Aribaud
Acked-by: Prafulla Wadaskar
Signed-off-by: Ben Warren