summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/memconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/memconf.c')
-rw-r--r--arch/arm/mach-uniphier/memconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/memconf.c b/arch/arm/mach-uniphier/memconf.c
index 8105368df1..f69b489b76 100644
--- a/arch/arm/mach-uniphier/memconf.c
+++ b/arch/arm/mach-uniphier/memconf.c
@@ -140,7 +140,7 @@ static int __uniphier_memconf_init(const struct uniphier_board_data *bd,
}
out:
- writel(val, SG_MEMCONF);
+ writel(val, sg_base + SG_MEMCONF);
return 0;
}