Dear All,
how to access SDRAM Refresh Control Register ?Power and sleep controler access is no problem.
example:
u32 val;
void __iomem *pinmux2 =(void __iomem *) IO_ADDRESS(0x01c40000); //Peripheral Revision and Class Information
val = __raw_readl(pinmux2);//val is correct
void __iomem *pinmux2 =(void __iomem *) IO_ADDRESS(0x2000000c); //Peripheral Revision and Class Information
val = __raw_readl(pinmux2);//Segmentation fault
How to conversion 0x2000000c (SDRAM Refresh Control Register) address?
tks!
Allen