summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-uniphier/dram/ddrphy-regs.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-26 14:21:42 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-02-29 03:50:16 +0900
commit78876704984f44e96578f887035aabaec2b776f5 (patch)
tree76499cb964a623e4b9668859a82925ed83d5f8ba /arch/arm/mach-uniphier/dram/ddrphy-regs.h
parent4f19f6118478c8bbf4bd435404094b23991ad225 (diff)
downloadtalos-obmc-uboot-78876704984f44e96578f887035aabaec2b776f5.tar.gz
talos-obmc-uboot-78876704984f44e96578f887035aabaec2b776f5.zip
ARM: uniphier: remove unused argument of ph1_ld4_ddrphy_init()
The DDR PHY settings no longer depend on the DRAM size. Drop the argument from the init function. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/dram/ddrphy-regs.h')
-rw-r--r--arch/arm/mach-uniphier/dram/ddrphy-regs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/dram/ddrphy-regs.h b/arch/arm/mach-uniphier/dram/ddrphy-regs.h
index a466118258..87f6d0d3a2 100644
--- a/arch/arm/mach-uniphier/dram/ddrphy-regs.h
+++ b/arch/arm/mach-uniphier/dram/ddrphy-regs.h
@@ -170,8 +170,7 @@ struct ddrphy {
#define DDRPHY_BASE(ch, phy) (0x5bc01000 + 0x200000 * (ch) + 0x1000 * (phy))
#ifndef __ASSEMBLY__
-int ph1_ld4_ddrphy_init(struct ddrphy __iomem *phy, int freq, int size,
- bool ddr3plus);
+int ph1_ld4_ddrphy_init(struct ddrphy __iomem *phy, int freq, bool ddr3plus);
void ddrphy_prepare_training(struct ddrphy __iomem *phy, int rank);
int ddrphy_training(struct ddrphy __iomem *phy);
#endif
OpenPOWER on IntegriCloud