summaryrefslogtreecommitdiff
path: root/lib_ppc/board.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-10-10 21:21:55 +0000
committerwdenk <wdenk>2004-10-10 21:21:55 +0000
commit03f5c55021c2d6297e66cc11bfea75f149a5d71c (patch)
tree658bdbc75b90b7a122c061fa2aca6d6eb94dfb67 /lib_ppc/board.c
parentcf33678e51e02143ed67850b3f13646fd51fb489 (diff)
downloadu-boot-imx-03f5c55021c2d6297e66cc11bfea75f149a5d71c.zip
u-boot-imx-03f5c55021c2d6297e66cc11bfea75f149a5d71c.tar.gz
u-boot-imx-03f5c55021c2d6297e66cc11bfea75f149a5d71c.tar.bz2
Patches by Jon Loeliger, 24 Aug 2004:
- Add support for the MPC8541 and MPC8555 CDS boards - Cleanup eth?addr handling: make dependent on CONFIG_ETH?ADDR
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r--lib_ppc/board.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index a2d3023..12439fe 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -779,9 +779,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
load_sernum_ethaddr ();
#endif
-#if defined(CFG_GT_6426x) || defined(CONFIG_PN62) || defined(CONFIG_PPCHAMELEONEVB) || \
- defined(CONFIG_MPC8540ADS) || defined(CONFIG_MPC8555CDS) || \
- defined(CONFIG_MPC8560ADS) || defined(CONFIG_440_GX)
+#if defined(CONFIG_ETH1ADDR)
/* handle the 2nd ethernet address */
s = getenv ("eth1addr");
@@ -792,9 +790,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
s = (*e) ? e + 1 : e;
}
#endif
-#if defined(CFG_GT_6426x) || defined(CONFIG_MPC8540ADS) || \
- defined(CONFIG_MPC8555CDS) || defined(CONFIG_MPC8560ADS) || \
- defined(CONFIG_440_GX)
+#if defined(CONFIG_ETH2ADDR)
/* handle the 3rd ethernet address */
s = getenv ("eth2addr");
@@ -810,7 +806,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
}
#endif
-#if defined(CONFIG_440_GX)
+#if defined(CONFIG_ETH3ADDR)
/* handle 4th ethernet address */
s = getenv("eth3addr");
#if defined(CONFIG_XPEDITE1K)