powerpc/b4860qds: add xfi support
[oweals/u-boot.git] / board / freescale / b4860qds / eth_b4860qds.c
index 2726cd2d473adafa5fe96bdb11579b1f63bf1633..aa48b5e654c56d9cc9bd2865d7ae9813366e8240 100644 (file)
@@ -268,6 +268,12 @@ int board_eth_init(bd_t *bis)
                                CONFIG_SYS_FM1_DTSEC1_RISER_PHY_ADDR);
                fm_info_set_phy_address(FM1_DTSEC4,
                                CONFIG_SYS_FM1_DTSEC2_RISER_PHY_ADDR);
+               /*
+                * XFI does not need a PHY to work, but to make U-boot
+                * happy, assign a fake PHY address for a XFI port.
+                */
+               fm_info_set_phy_address(FM1_10GEC1, 0);
+               fm_info_set_phy_address(FM1_10GEC2, 1);
                break;
        case 0x98:
                /* XAUI in Slot1 and Slot2 */