summaryrefslogtreecommitdiff
path: root/lib_ppc/board.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2005-08-15 12:31:23 +0200
committerStefan Roese <sr@denx.de>2005-08-15 12:31:23 +0200
commitb79316f2a263f424e2a94abaa2c3f639fad7a864 (patch)
tree4d0db640a8221bffc6415c55a67f34561c97e693 /lib_ppc/board.c
parent2893ecbf3e5b983970138289b759baf45a327ff3 (diff)
downloadu-boot-imx-b79316f2a263f424e2a94abaa2c3f639fad7a864.zip
u-boot-imx-b79316f2a263f424e2a94abaa2c3f639fad7a864.tar.gz
u-boot-imx-b79316f2a263f424e2a94abaa2c3f639fad7a864.tar.bz2
Add Sandburst Metrobox and Sandburst Karef board support packages.
Second serial port on 440GX now defined as a system device. Add 'Short Etch' code for Cicada PHY within 440gx_enet.c Patch by Travis B. Sawyer, 12 Jul 2005 Check return value of malloc in 440gx_enet.c Patch by Travis B. Sawyer, 18 Jul 2005
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r--lib_ppc/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 09c4f64..dab268e 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -828,7 +828,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
/* handle the 3rd ethernet address */
s = getenv ("eth2addr");
-#if defined(CONFIG_XPEDITE1K)
+#if defined(CONFIG_XPEDITE1K) || defined(CONFIG_METROBOX) || defined(CONFIG_KAREF)
if (s == NULL)
board_get_enetaddr(bd->bi_enet2addr);
else
@@ -843,7 +843,7 @@ void board_init_r (gd_t *id, ulong dest_addr)
#ifdef CONFIG_HAS_ETH3
/* handle 4th ethernet address */
s = getenv("eth3addr");
-#if defined(CONFIG_XPEDITE1K)
+#if defined(CONFIG_XPEDITE1K) || defined(CONFIG_METROBOX) || defined(CONFIG_KAREF)
if (s == NULL)
board_get_enetaddr(bd->bi_enet3addr);
else