]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: Espressobin: move network setup into a separate function
authorRobert Marko <robert.marko@sartura.hr>
Wed, 29 Nov 2023 10:11:07 +0000 (11:11 +0100)
committerStefan Roese <sr@denx.de>
Wed, 10 Jan 2024 08:38:55 +0000 (09:38 +0100)
commitfde58124c3831cce0e046e0ec7cb4222d72c4fa7
tree8515e6ecbb3b52ecd4d50091cca4a40cdfd38949
parent9a43eb12db36a5b77d904749dabe9141e67180a1
arm: mvebu: Espressobin: move network setup into a separate function

Currently, Esspresobin switch is being setup directly in last_stage_init()
which makes it hard to add support for any other board to be setup.

So, lets just move the switch setup code to a separate function and call it
if compatible matches, there should be no functional change.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Stefan Roese <sr@denx.de>
board/Marvell/mvebu_armada-37xx/board.c