net: mvneta: Add support for Armada 3700 SoC
authorStefan Roese <sr@denx.de>
Thu, 19 May 2016 15:46:36 +0000 (17:46 +0200)
committerStefan Roese <sr@denx.de>
Tue, 27 Sep 2016 15:29:52 +0000 (17:29 +0200)
commit544eefe084661d5ee486aca0cd0ec03801bfced9
treeea4d8871755be73f0594358036ff775d46fd24c5
parent3cbc11da866936c04ef95ea077e891d907cd4ad9
net: mvneta: Add support for Armada 3700 SoC

This patch adds support for the Armada 3700 SoC to the Marvell mvneta
network driver.

Not like A380, in Armada3700, there are two layers of decode windows for GBE:
First layer is:  GbE Address window that resides inside the GBE unit,
Second layer is: Fabric address window which is located in the NIC400
                 (South Fabric).
To simplify the address decode configuration for Armada3700, we bypass the
first layer of GBE decode window by setting the first window to 4GB.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Nadav Haklai <nadavh@marvell.com>
Cc: Kostya Porotchkin <kostap@marvell.com>
Cc: Wilson Ding <dingwei@marvell.com>
Cc: Victor Gu <xigu@marvell.com>
Cc: Hua Jing <jinghua@marvell.com>
Cc: Terry Zhou <bjzhou@marvell.com>
Cc: Hanna Hawa <hannah@marvell.com>
Cc: Haim Boot <hayim@marvell.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvneta.c