]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c
mpc85xx: Base emulator support
[karo-tx-uboot.git] / arch / powerpc / cpu / mpc8xxx / ddr / ctrl_regs.c
index ff5812df55fbb0b925f7b034e2119b24d2d35165..0f73e9c6c6ec8abd525126cb9f9e581d8d885b9b 100644 (file)
@@ -1638,5 +1638,10 @@ compute_fsl_memctl_config_regs(const memctl_options_t *popts,
 
        set_ddr_sdram_rcw(ddr, popts, common_dimm);
 
+#ifdef CONFIG_SYS_FSL_DDR_EMU
+       /* disble DDR training for emulator */
+       ddr->debug[2] = 0x00000400;
+       ddr->debug[4] = 0xff800000;
+#endif
        return check_fsl_memctl_config_regs(ddr);
 }