/* Returns the number of TSEC devices that were initialized  */
int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsecs, int num)
/* Returns the number of TSEC devices that were initialized  */
int tsec_eth_init(bd_t *bis, struct tsec_info_struct *tsecs, int num)
{
	int i;
	int count = 0;
	for (i = 0; i < num; i++) {
		int ret = tsec_initialize(bis, &tsecs[i]);
		if (ret > 0)
			count += ret;
	}
	return count;
}