[U-Boot] UEC numbering broken in uec_initialize

Joakim Tjernlund joakim.tjernlund at transmode.se
Tue Aug 3 18:23:17 CEST 2010


Commit qe: Pass in uec_info struct through uec_initialize (8e55258f144764de8902e9f078a7ad4c6c022c2f)
changed the FSL UEC# numbering:
-	sprintf(dev->name, "FSL UEC%d", index);
+	sprintf(dev->name, "FSL UEC%d", uec_info->uf_info.ucc_num);
from logical(zero based)to physical UCC number.
This breaks boards that have multiple eth I/F and uses ethprime/ethact.
It seems like this change was unintentional?
I propose we change back to the way it was as it breaks my board.

 Jocke



More information about the U-Boot mailing list