summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/dram/ddrphy-training.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-uniphier/dram/ddrphy-training.c')
-rw-r--r--arch/arm/mach-uniphier/dram/ddrphy-training.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/dram/ddrphy-training.c b/arch/arm/mach-uniphier/dram/ddrphy-training.c
index a561fad..005ca18 100644
--- a/arch/arm/mach-uniphier/dram/ddrphy-training.c
+++ b/arch/arm/mach-uniphier/dram/ddrphy-training.c
@@ -12,6 +12,9 @@
#include "ddrphy-init.h"
#include "ddrphy-regs.h"
+/* for LD4, Pro4, sLD8 */
+#define NR_DATX8_PER_DDRPHY 2
+
void ddrphy_prepare_training(void __iomem *phy_base, int rank)
{
void __iomem *dx_base = phy_base + PHY_DX_BASE;