X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Fmips%2Fmach-mscc%2Fdram.c;h=c43f7a585bf8a51f9bb7870919f88fd401891c5f;hb=23b3f3c0fc6f881cf9381642196ca11dcc0eb61b;hp=5acee6f918afe938c8be6f24e975cfffa3ed17e6;hpb=dd1033e4e0254bd2d19debe433921d9a71bdf674;p=oweals%2Fu-boot.git diff --git a/arch/mips/mach-mscc/dram.c b/arch/mips/mach-mscc/dram.c index 5acee6f918..c43f7a585b 100644 --- a/arch/mips/mach-mscc/dram.c +++ b/arch/mips/mach-mscc/dram.c @@ -19,9 +19,12 @@ static inline int vcoreiii_train_bytelane(void) ret = hal_vcoreiii_train_bytelane(0); +#if defined(CONFIG_SOC_OCELOT) || defined(CONFIG_SOC_JR2) || \ + defined(CONFIG_SOC_SERVALT) || defined(CONFIG_SOC_SERVAL) if (ret) return ret; ret = hal_vcoreiii_train_bytelane(1); +#endif return ret; }