[PATCH] ARM: imx: armadillo5x0: Fix illegal register access
Arnd Bergmann
arnd at arndb.de
Sat Sep 15 16:12:48 EDT 2012
On Saturday 15 September 2012, Fabio Estevam wrote:
>
> /* set NAND page size to 2k if not configured via boot mode pins */
> - __raw_writel(__raw_readl(MXC_CCM_RCSR) | (1 << 30), MXC_CCM_RCSR);
> + __raw_writel(__raw_readl(mx3_ccm_base + MXC_CCM_RCSR) |
> + (1 << 30), MXC_CCM_RCSR);
>
> /* RTC */
Shouldn't you change both the read and the write here, rather than just the read?
Arnd
More information about the linux-arm-kernel
mailing list