arm: kirkwood: iConnect : Add Ethernet support
authorTony Dinh <mibodhi@gmail.com>
Wed, 2 Feb 2022 05:59:27 +0000 (21:59 -0800)
committerStefan Roese <sr@denx.de>
Thu, 10 Feb 2022 06:12:16 +0000 (07:12 +0100)
commitf99a169c19149fd005783c37c815518fb5ac9bdf
tree6272771d3052b202dd714c26307f850cb2064918
parentfb9ed23c22d770a688092a082cfc459854749bd2
arm: kirkwood: iConnect : Add Ethernet support

- 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(), CONFIG_DM_ETH, and CONFIG_PHY_MARVELL
to bring up Ethernet.
- Miscellaneous changes: Move constants to .c file and remove header file
board/iomega/iconnect/iconnect.h. Add CONFIG_HUSH_PARSER, use BIT macro,
and cleanup comments.

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/iomega/iconnect/iconnect.c
board/iomega/iconnect/iconnect.h [deleted file]
configs/iconnect_defconfig
include/configs/iconnect.h