mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 07:33:29 +08:00
net: mvpp2x: remove MBUS configurations from MvPP22 driver
MBUS driver were replaced by AXI in PPv22 and relevant only for PPv21. Signed-off-by: Stefan Chulski <stefanc@marvell.com> Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Nadav Haklai <nadavh@marvell.com> Reviewed-by: Igal Liberman <igall@marvell.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
f0e970fd2a
commit
d4b0e00829
@ -5014,13 +5014,14 @@ static int mvpp2_init(struct udevice *dev, struct mvpp2 *priv)
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* MBUS windows configuration */
|
||||
dram_target_info = mvebu_mbus_dram_info();
|
||||
if (dram_target_info)
|
||||
mvpp2_conf_mbus_windows(dram_target_info, priv);
|
||||
|
||||
if (priv->hw_version == MVPP22)
|
||||
mvpp2_axi_init(priv);
|
||||
else {
|
||||
/* MBUS windows configuration */
|
||||
dram_target_info = mvebu_mbus_dram_info();
|
||||
if (dram_target_info)
|
||||
mvpp2_conf_mbus_windows(dram_target_info, priv);
|
||||
}
|
||||
|
||||
if (priv->hw_version == MVPP21) {
|
||||
/* Disable HW PHY polling */
|
||||
|
Loading…
Reference in New Issue
Block a user