summaryrefslogtreecommitdiff
path: root/arch/mips/mach-mscc/dram.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mach-mscc/dram.c')
-rw-r--r--arch/mips/mach-mscc/dram.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mach-mscc/dram.c b/arch/mips/mach-mscc/dram.c
index 5acee6f918..309007c14e 100644
--- a/arch/mips/mach-mscc/dram.c
+++ b/arch/mips/mach-mscc/dram.c
@@ -19,9 +19,11 @@ static inline int vcoreiii_train_bytelane(void)
ret = hal_vcoreiii_train_bytelane(0);
+#ifdef CONFIG_SOC_OCELOT
if (ret)
return ret;
ret = hal_vcoreiii_train_bytelane(1);
+#endif
return ret;
}