]> git.baikalelectronics.ru Git - uboot.git/commit
arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model
authorTony Dinh <mibodhi@gmail.com>
Wed, 9 Feb 2022 02:56:22 +0000 (18:56 -0800)
committerStefan Roese <sr@denx.de>
Thu, 10 Feb 2022 06:12:16 +0000 (07:12 +0100)
commit282a391ba6f520619f83726db1407a7205973f0b
tree081d291e84e88dd574264e196a24d0b5d5fe267a
parent8083af97baacd0304ed6653a37d7d8904b6cc84d
arm: kirkwood: Pogoplug E02 : Convert Ethernet to Driver Model

The Pogoplug E02 board has the network chip Marvell 88E1116R. Convert
to Driver Model and use uclass mvgbe and the compatible driver M88E1118R
to bring up Ethernet.

- Add board_eth_init(), CONFIG_DM_ETH, and CONFIG_PHY_MARVELL
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.
- As the result of the migration to Driver Model, this u-boot image has
grown substantially (about 100K, give or take). The old envs location
at 0x60000 (384k) is no longer possible. Move it to 0xC0000 (768K).
- Miscellaneous changes: Move constants to .c file and remove header file
board/cloudengines/pogo_e02/pogo_e02.h, use CONFIG_SYS_THUMB_BUILD to
keep u-boot image under 512K, use BIT macro, and cleanup comments.

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