summaryrefslogtreecommitdiff
path: root/arch/mips/mach-mscc/dram.c
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2019-01-17 15:33:27 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-01-23 18:27:26 +0100
commit055125171a39aecd5814bfb0c39233699338b647 (patch)
tree06765f28812d64027f730c7661f3b888052b1fa1 /arch/mips/mach-mscc/dram.c
parent177c07f8293f510eaa3d802eae58c7ed0d664337 (diff)
MSCC: Add support for Servalt SoC family.
As Ocelot, Luton and Jaguar2, this family of SoCs are found in Microsemi Switches solution. Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Diffstat (limited to 'arch/mips/mach-mscc/dram.c')
-rw-r--r--arch/mips/mach-mscc/dram.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mach-mscc/dram.c b/arch/mips/mach-mscc/dram.c
index 8002e076cb..2073821211 100644
--- a/arch/mips/mach-mscc/dram.c
+++ b/arch/mips/mach-mscc/dram.c
@@ -19,7 +19,8 @@ static inline int vcoreiii_train_bytelane(void)
ret = hal_vcoreiii_train_bytelane(0);
-#if defined(CONFIG_SOC_OCELOT) || defined(CONFIG_SOC_JR2)
+#if defined(CONFIG_SOC_OCELOT) || defined(CONFIG_SOC_JR2) || \
+ defined(CONFIG_SOC_SERVALT)
if (ret)
return ret;
ret = hal_vcoreiii_train_bytelane(1);