summaryrefslogtreecommitdiff
path: root/configs/dreamplug_defconfig
diff options
context:
space:
mode:
authorTony Dinh <mibodhi@gmail.com>2022-01-30 15:02:30 -0800
committerStefan Roese <sr@denx.de>2022-02-10 07:12:16 +0100
commitfb9ed23c22d770a688092a082cfc459854749bd2 (patch)
treecd4fc3e04cbb8b8e2866d2c27d89944b7b5481db /configs/dreamplug_defconfig
parent859703251251d9567f29ab10c0a29f98eb0aff5c (diff)
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>
Diffstat (limited to 'configs/dreamplug_defconfig')
-rw-r--r--configs/dreamplug_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/dreamplug_defconfig b/configs/dreamplug_defconfig
index 2d2b7f5ad3..72ab6956ee 100644
--- a/configs/dreamplug_defconfig
+++ b/configs/dreamplug_defconfig
@@ -50,6 +50,7 @@ CONFIG_SYS_ATA_ALT_OFFSET=0x100
CONFIG_MTD=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI_FLASH_MACRONIX=y
+CONFIG_PHY_MARVELL=y
CONFIG_DM_ETH=y
CONFIG_MVGBE=y
CONFIG_MII=y