summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Zhang <ying.zhang22455@nxp.com>2016-04-21 14:23:46 +0800
committerYork Sun <york.sun@nxp.com>2016-05-24 17:11:03 -0700
commitd1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1 (patch)
tree3e0d37fba4b9d9d12da8ef6dcb4e93ac9c469fad
parent82eda68444fa4d026bcf1f59c7c0d044ddbcb193 (diff)
downloadu-boot-imx-d1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1.zip
u-boot-imx-d1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1.tar.gz
u-boot-imx-d1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1.tar.bz2
powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB
Disable the non-existent ethernet ports on T4240RDB:FM1_DTSEC5, FM1_DTSEC6, FM2_DTSEC5 and FM2_DTSEC6. Signed-off-by: Ying Zhang <ying.zhang22455@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: York Sun <york.sun@nxp.com>
-rw-r--r--board/freescale/t4rdb/eth.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/freescale/t4rdb/eth.c b/board/freescale/t4rdb/eth.c
index e563a61..ae2451e 100644
--- a/board/freescale/t4rdb/eth.c
+++ b/board/freescale/t4rdb/eth.c
@@ -77,6 +77,9 @@ int board_eth_init(bd_t *bis)
puts("Invalid SerDes1 protocol for T4240RDB\n");
}
+ fm_disable_port(FM1_DTSEC5);
+ fm_disable_port(FM1_DTSEC6);
+
for (i = FM1_DTSEC1; i < FM1_DTSEC1 + CONFIG_SYS_NUM_FM1_DTSEC; i++) {
interface = fm_info_get_enet_if(i);
switch (interface) {
@@ -115,6 +118,8 @@ int board_eth_init(bd_t *bis)
puts("Invalid SerDes2 protocol for T4240RDB\n");
}
+ fm_disable_port(FM2_DTSEC5);
+ fm_disable_port(FM2_DTSEC6);
for (i = FM2_DTSEC1; i < FM2_DTSEC1 + CONFIG_SYS_NUM_FM2_DTSEC; i++) {
interface = fm_info_get_enet_if(i);
switch (interface) {