summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Zang <tie-fei.zang@freescale.com>2009-06-30 13:56:23 +0800
committerKumar Gala <galak@kernel.crashing.org>2009-06-30 08:26:34 -0500
commit29c35182462feea09f322e51913759a53359a3e0 (patch)
tree6eadc1c40a05d3fdcb8280b58828c2eed415afc9
parent156984a3611c28093919d3e3c042f722b5548253 (diff)
downloadu-boot-imx-29c35182462feea09f322e51913759a53359a3e0.zip
u-boot-imx-29c35182462feea09f322e51913759a53359a3e0.tar.gz
u-boot-imx-29c35182462feea09f322e51913759a53359a3e0.tar.bz2
85xx: Add pci e1000 Ethernet support for P2020 board
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--board/freescale/p2020ds/p2020ds.c3
-rw-r--r--include/configs/P2020DS.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/p2020ds/p2020ds.c b/board/freescale/p2020ds/p2020ds.c
index 6b72d61..293e5a4 100644
--- a/board/freescale/p2020ds/p2020ds.c
+++ b/board/freescale/p2020ds/p2020ds.c
@@ -36,6 +36,7 @@
#include <tsec.h>
#include <asm/fsl_law.h>
#include <asm/mp.h>
+#include <netdev.h>
#include "../common/pixis.h"
#include "../common/sgmii_riser.h"
@@ -594,7 +595,7 @@ int board_eth_init(bd_t *bis)
tsec_eth_init(bis, tsec_info, num);
- return 0;
+ return pci_eth_init(bis);
}
#endif
diff --git a/include/configs/P2020DS.h b/include/configs/P2020DS.h
index 84b5686..fddcce5 100644
--- a/include/configs/P2020DS.h
+++ b/include/configs/P2020DS.h
@@ -46,6 +46,7 @@
#define CONFIG_SYS_PCI_64BIT 1 /* enable 64-bit PCI resources */
#define CONFIG_FSL_LAW 1 /* Use common FSL init code */
+#define CONFIG_E1000 1 /* Defind e1000 pci Ethernet card*/
#define CONFIG_TSEC_ENET /* tsec ethernet support */
#define CONFIG_ENV_OVERWRITE