diff options
author | Terry Lv <r65388@freescale.com> | 2010-01-08 15:30:26 +0800 |
---|---|---|
committer | Terry Lv <r65388@freescale.com> | 2010-01-11 19:32:42 +0800 |
commit | a5510c49adac4e31c0bc13bad45ee073b3940dc5 (patch) | |
tree | b803d30b72344e2a95fbfed78d939d813e378036 /board | |
parent | c3b0a8706e5b3eb84875830e9acaa80cac088c14 (diff) | |
download | u-boot-imx-a5510c49adac4e31c0bc13bad45ee073b3940dc5.zip u-boot-imx-a5510c49adac4e31c0bc13bad45ee073b3940dc5.tar.gz u-boot-imx-a5510c49adac4e31c0bc13bad45ee073b3940dc5.tar.bz2 |
ENGR00119890: Set right mac addr to FEC register in init
The mac addr set to FEC is smc911x's.
So add a environment "fec_addr" to set fec address.
Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mx25_3stack/mx25_3stack.c | 5 | ||||
-rw-r--r-- | board/freescale/mx35_3stack/mx35_3stack.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/board/freescale/mx25_3stack/mx25_3stack.c b/board/freescale/mx25_3stack/mx25_3stack.c index b28cc3d..ced6599 100644 --- a/board/freescale/mx25_3stack/mx25_3stack.c +++ b/board/freescale/mx25_3stack/mx25_3stack.c @@ -1,5 +1,5 @@ /* - * (c) Copyright 2009 Freescale Semiconductor + * (c) Copyright 2009-2010 Freescale Semiconductor * * (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de> * @@ -305,6 +305,9 @@ int board_eth_init(bd_t *bis) #if defined(CONFIG_SMC911X) rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); #endif + + cpu_eth_init(bis); + return rc; } diff --git a/board/freescale/mx35_3stack/mx35_3stack.c b/board/freescale/mx35_3stack/mx35_3stack.c index 11863680..5889a31 100644 --- a/board/freescale/mx35_3stack/mx35_3stack.c +++ b/board/freescale/mx35_3stack/mx35_3stack.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> * - * (C) Copyright 2008-2009 Freescale Semiconductor, Inc. + * (C) Copyright 2008-2010 Freescale Semiconductor, Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -359,6 +359,9 @@ int board_eth_init(bd_t *bis) #if defined(CONFIG_SMC911X) rc = smc911x_initialize(0, CONFIG_SMC911X_BASE); #endif + + cpu_eth_init(bis); + return rc; } |