ARM: uniphier: disable debug circuit clocks for PH1-Pro4
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 05:21:39 +0000 (14:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:16 +0000 (03:50 +0900)
These settings control the clocks around the memory controller.
The debug ability is unneeded once it works properly.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/umc-ph1-pro4.c

index c28492c4f1d7fef90a1c8c97190b1966d5d55e14..f89b1da26c005b07b76cebc379711ce2a94dc501 100644 (file)
@@ -24,9 +24,9 @@ static u32 umc_spcctla[DRAM_SZ_NR] = {0x002b0617, 0x003f0617, 0x00770617};
 
 static void umc_start_ssif(void __iomem *ssif_base)
 {
-       writel(0x00000001, ssif_base + 0x0000b004);
+       writel(0x00000000, ssif_base + 0x0000b004);
        writel(0xffffffff, ssif_base + 0x0000c004);
-       writel(0x07ffffff, ssif_base + 0x0000c008);
+       writel(0x000fffcf, ssif_base + 0x0000c008);
        writel(0x00000001, ssif_base + 0x0000b000);
        writel(0x00000001, ssif_base + 0x0000c000);