85xx: Add pci e1000 Ethernet support for P2020 board
authorRoy Zang <tie-fei.zang@freescale.com>
Tue, 30 Jun 2009 05:56:23 +0000 (13:56 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 30 Jun 2009 13:26:34 +0000 (08:26 -0500)
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/p2020ds/p2020ds.c
include/configs/P2020DS.h

index 6b72d61426fd521e4004e8202fd79d2057ffc670..293e5a42dc0ee7bde99adfec24075d6f6d11108b 100644 (file)
@@ -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
 
index 84b5686244dde6a0a6f777c2d398ec8aa41d4055..fddcce5e4fa6f24affc025bb10cf03177899bf58 100644 (file)
@@ -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