ARM: uniphier: update UMC_MEMMAPSET value for LD20 SoC
authorWataru Okoshi <okoshi.wataru@socionext.com>
Wed, 18 Jan 2017 07:24:38 +0000 (16:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Jan 2017 06:01:27 +0000 (15:01 +0900)
Change bnk_typ's value from 8 to 0 (for G1's performance).

Signed-off-by: Wataru Okoshi <okoshi.wataru@socionext.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/umc-ld20.c

index ecbe1016174f3f0f9e0c96c4098ff20868411df9..df6cc013bc2aa50c16aab8b8ae85fa76b0b725de 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2016 Socionext Inc.
  *
- * based on commit 5e1cb0f1caeabc6c99469dd997cb6b4f46834443 of Diag
+ * based on commit 1f6feb76e7f9753f51955444e422486521f9b3a3 of Diag
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
@@ -581,7 +581,7 @@ static int umc_dc_init(void __iomem *dc_base, unsigned int freq,
        writel(umc_memconf0a[freq_e][size_e], dc_base + UMC_MEMCONF0A);
        writel(umc_memconf0b[freq_e][size_e], dc_base + UMC_MEMCONF0B);
        writel(umc_memconfch[freq_e][size_e], dc_base + UMC_MEMCONFCH);
-       writel(0x00000008, dc_base + UMC_MEMMAPSET);
+       writel(0x00000000, dc_base + UMC_MEMMAPSET);
 
        writel(umc_cmdctla[freq_e], dc_base + UMC_CMDCTLA);
        writel(umc_cmdctlb[freq_e], dc_base + UMC_CMDCTLB);