On Fri, 2009-03-20 at 13:54 +0100, Stijn Devriendt wrote: > I'm trying to read out the DDR2 control registers > to obtain information about the DDR2 configuration. > > I currently did something like > base = ioremap(0x2000000, PAGE_SIZE); > result = davinci_readl(0x20000008); > iounmap(base); > but this results on kernel Oopses.
Oops is expected since IO_ADDRESS(0x20000008) is not valid. Try __raw_readl(base + 0x8); Regards, Steve _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
