
23 Jan
2015
23 Jan
'15
8:11 a.m.
Hi Alison
I was just testing out ls1021atwr board with NOR boot using rcw_1000.bin.
I noticed that Ethernet is not working.
In ls1021atwr.c we have :
out_be32(&scfg->etsecdmamcr, SCFG_ETSECDMAMCR_LE_BD_FR); out_be32(&scfg->etsecmcr, SCFG_ETSECCMCR_GE2_CLK125);
In your earlier commit c207ff612903389f8b32e377fe32be43e6efd8f7 you removed the bit reversing around this but those defines are not in big-endian. By setting bit reversing before those lines as before makes Ethernet working.
Could you please take a look at this. Should we reverse your commit since we are accessing SCFG registers directly in the board specific files ?
Regards
Sinan Akman