1 /*
2  * Freescale SGMII Riser Card
3  *
4  * This driver supports the SGMII Riser card found on the
5  * "DS" style of development board from Freescale.
6  *
7  * This software may be used and distributed according to the
8  * terms of the GNU Public License, Version 2, incorporated
9  * herein by reference.
10  *
11  * Copyright 2008 Freescale Semiconductor, Inc.
12  *
13  */
14 
15 #include <config.h>
16 #include <common.h>
17 #include <tsec.h>
18 
19 void fsl_sgmii_riser_init(struct tsec_info_struct *tsec_info, int num)
20 {
21 	int i;
22 
23 	for (i = 0; i < num; i++)
24 		if (tsec_info[i].flags & TSEC_SGMII)
25 			tsec_info[i].phyaddr += SGMII_RISER_PHY_OFFSET;
26 }
27