]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mvebu: Change network init code to allow a more flexible setup
authorStefan Roese <sr@denx.de>
Sat, 25 Apr 2015 04:29:52 +0000 (06:29 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:37:12 +0000 (22:37 +0200)
commitf80a12c57c32ded92dc45364e354fe113e85d619
tree5ed72d5c95f04cbf5ab90fd86f7723e021a524b5
parent5b621b4b4c56cd8d2a2a5700733947f96d513ddb
arm: mvebu: Change network init code to allow a more flexible setup

With the introduction of the Armada 38x support, its necessary to change
the mvneta ethernet driver init call from always 4 times to a
configurable value. Lets make this init call more flexible by moving
the actually used devices to the config header.

Additionally this patch takes care of the slightly different base
addresses for the ethernet controllers on A38x.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
arch/arm/mach-mvebu/cpu.c
board/Marvell/db-mv784mp-gp/db-mv784mp-gp.c
include/configs/db-mv784mp-gp.h
include/configs/maxbcm.h