diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-10-08 06:55:57 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2018-10-29 13:19:43 -0700 |
commit | db148f2a6938b47cf26c5fd11481e7462a6a793a (patch) | |
tree | 1655d16c3f0cf0fed46024b5c4596da17ab8dfc6 /drivers | |
parent | c00d0012f5d6aa3987f5465caf8b6ead5ac919ff (diff) | |
download | u-boot-db148f2a6938b47cf26c5fd11481e7462a6a793a.zip u-boot-db148f2a6938b47cf26c5fd11481e7462a6a793a.tar.gz u-boot-db148f2a6938b47cf26c5fd11481e7462a6a793a.tar.bz2 |
powerpc: t1040: Correct RCW EC2 settings
Per T1040RM (Rev. 1, 08/2015), there are 2 issues with the RCW EC2
settings.
- The value of FSL_CORENET_RCWSR13_EC2_FM1_GPIO is wrong and should
be 0x04000000 (value of 1 in RCW bit [420:421])
- Value of 2/3 are reserved in RCW bit [420:421], hence there is no
macro FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_MII.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Poonam Aggrwal <poonam.aggrwal@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/fm/t1040.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/fm/t1040.c b/drivers/net/fm/t1040.c index 7ec7f99..af4f5c5 100644 --- a/drivers/net/fm/t1040.c +++ b/drivers/net/fm/t1040.c @@ -41,9 +41,6 @@ phy_interface_t fman_port_enet_if(enum fm_port port) if ((rcwsr13 & FSL_CORENET_RCWSR13_EC2) == FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_RGMII) return PHY_INTERFACE_MODE_RGMII; - else if ((rcwsr13 & FSL_CORENET_RCWSR13_EC2) == - FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_MII) - return PHY_INTERFACE_MODE_MII; } switch (port) { |