commit | 2178dd84fd4836a47c67fb6ed2865812e42a87ab | [log] [tgz] |
---|---|---|
author | Shaohui Xie <Shaohui.Xie@freescale.com> | Mon Oct 26 19:47:49 2015 +0800 |
committer | York Sun <yorksun@freescale.com> | Thu Oct 29 10:34:00 2015 -0700 |
tree | 206fb5d3d467be2d1f54b45bce8452fbb6388295 | |
parent | 1b295126401ff6c0d0461678f01d672d958902cc [diff] |
net/fm: fix MDIO controller base on FMAN2 MDIO controller base on FMAN2 was defined as CONFIG_SYS_FSL_FM2_ADDR plus offset, but CONFIG_SYS_FSL_FM2_ADDR only defined when there are two FMANs, so we should only define MDIO controller base on FMAN2 when there is FMAN2. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>