]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: r8a7791: Correct SYSCIER value
authorSimon Horman <horms+renesas@verge.net.au>
Thu, 12 Mar 2015 03:55:37 +0000 (12:55 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 16 Mar 2015 21:46:29 +0000 (06:46 +0900)
Set the SYSCIER as per the values indicated in the documentation.
The value previously used appears to been copied from the r8a7779
implementation but on closer inspection is not correct for the r8a7791.

Fixes: 5f6108bb9643 ("ARM: shmobile: r8a7791 SYSC setup code")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/pm-r8a7791.c

index 25f107bb36570d656efc18b45d39cc6aaa65e380..f7cfb3b725746c84b3065b753a10cac964149a2b 100644 (file)
@@ -33,7 +33,7 @@ static void __init r8a7791_sysc_init(void)
        void __iomem *base = rcar_sysc_init(0xe6180000);
 
        /* enable all interrupt sources, but do not use interrupt handler */
-       iowrite32(0x0131000e, base + SYSCIER);
+       iowrite32(0x00111003, base + SYSCIER);
        iowrite32(0, base + SYSCIMR);
 }