[U-Boot] removing bit reversing for SCFG in immap_ls102xa.h
Sinan Akman
sinan at writeme.com
Fri Jan 23 08:11:24 CET 2015
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
More information about the U-Boot
mailing list