]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: kirkwood: Dreamplug : Use Marvell uclass mvgbe and PHY driver for Ethernet
authorTony Dinh <mibodhi@gmail.com>
Sun, 30 Jan 2022 23:02:30 +0000 (15:02 -0800)
committerStefan Roese <sr@denx.de>
Thu, 10 Feb 2022 06:12:16 +0000 (07:12 +0100)
commitfb9ed23c22d770a688092a082cfc459854749bd2
treecd4fc3e04cbb8b8e2866d2c27d89944b7b5481db
parent859703251251d9567f29ab10c0a29f98eb0aff5c
arm: kirkwood: Dreamplug : Use Marvell uclass mvgbe and PHY driver for Ethernet

The Globalscale Technologies Dreamplug board has the network chip
Marvell 88E1116R. Use uclass mvgbe and the compatible driver M88E1310
driver to bring up Ethernet.

- Currently, CONFIG_RESET_PHY_R symbol is used in
arch/arm/mach-kirkwood/include/mach/config.h for all Kirkwood
boards with mv8831116 PHY, with each board defines the function
reset_phy(). Undefine it for this board.
- Add board_eth_init() to use uclass mvgbe to bring up both network
port 0 and 1. And remove ad-hoc code.
- Enable CONFIG_PHY_MARVELL to properly configure the network.
- Add myself as maintainer (this board seems to be orphaned,
could not contact Jason Cooper using current email).
- Miscellaneous changes: Move constants to .c file and remove header file
board/Marvell/dreamplug/dreamplug.h, cleanup comments.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Pali Rohár <pali@kernel.org>
board/Marvell/dreamplug/MAINTAINERS
board/Marvell/dreamplug/dreamplug.c
board/Marvell/dreamplug/dreamplug.h [deleted file]
configs/dreamplug_defconfig
include/configs/dreamplug.h