public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB
@ 2016-04-21  6:23 ying.zhang22455 at nxp.com
  2016-04-25 22:47 ` Joe Hershberger
  2016-05-25  3:33 ` York Sun
  0 siblings, 2 replies; 3+ messages in thread
From: ying.zhang22455 at nxp.com @ 2016-04-21  6:23 UTC (permalink / raw)
  To: u-boot

From: Ying Zhang <ying.zhang22455@nxp.com>

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>
---
[changed from v1]:
--- update the title.
[changed from v2]:
--- update the commit message.

 board/freescale/t4rdb/eth.c | 5 +++++
 1 file changed, 5 insertions(+)

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) {
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB
  2016-04-21  6:23 [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB ying.zhang22455 at nxp.com
@ 2016-04-25 22:47 ` Joe Hershberger
  2016-05-25  3:33 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: Joe Hershberger @ 2016-04-25 22:47 UTC (permalink / raw)
  To: u-boot

On Thu, Apr 21, 2016 at 1:23 AM,  <ying.zhang22455@nxp.com> wrote:
> From: Ying Zhang <ying.zhang22455@nxp.com>
>
> 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>

In the future Cc: me on Ethernet driver changes, please.

Acked-by: Joe Hershberger <joe.hershberger@ni.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB
  2016-04-21  6:23 [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB ying.zhang22455 at nxp.com
  2016-04-25 22:47 ` Joe Hershberger
@ 2016-05-25  3:33 ` York Sun
  1 sibling, 0 replies; 3+ messages in thread
From: York Sun @ 2016-05-25  3:33 UTC (permalink / raw)
  To: u-boot

On 04/20/2016 11:33 PM, ying.zhang22455 at nxp.com wrote:
> From: Ying Zhang <ying.zhang22455@nxp.com>
> 
> 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>
> ---
> [changed from v1]:
> --- update the title.
> [changed from v2]:
> --- update the commit message.
> 
>  board/freescale/t4rdb/eth.c | 5 +++++
>  1 file changed, 5 insertions(+)


Applied to u-boot-mpc85xx master branch, awaiting upstream.

Thanks.

York

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-25  3:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21  6:23 [U-Boot] [PATCH 1/2 v3] powerpc:t4240rdb: Disable the non-existent ethernet ports on T4240RDB ying.zhang22455 at nxp.com
2016-04-25 22:47 ` Joe Hershberger
2016-05-25  3:33 ` York Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox