staticvoid pxa3xx_smemc_resume(void)
{
__raw_writel(msc[0], MSC0);
__raw_writel(msc[1], MSC1);
__raw_writel(sxcnfg, SXCNFG);
__raw_writel(memclkcfg, MEMCLKCFG);
__raw_writel(csadrcfg[0], CSADRCFG0);
__raw_writel(csadrcfg[1], CSADRCFG1);
__raw_writel(csadrcfg[2], CSADRCFG2);
__raw_writel(csadrcfg[3], CSADRCFG3); /* CSMSADRCFG wakes up in its default state (0), so we need to set it */
__raw_writel(0x2, CSMSADRCFG);
}
staticint __init smemc_init(void)
{ if (cpu_is_pxa3xx()) { /* * The only documentation we have on the * Chip Select Configuration Register (CSMSADRCFG) is that * it must be programmed to 0x2. * Moreover, in the bit definitions, the second bit * (CSMSADRCFG[1]) is called "SETALWAYS". * Other bits are reserved in this register.
*/
__raw_writel(0x2, CSMSADRCFG);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.