-
- Downloads
powerpc/mpc8xxx: Fix DDR initialization waiting for D_INIT
When ECC is enabled, DDR controller needs to initialize the data and ecc. The wait time can be calcuated with total memory size, bus width, bus speed and interleaving mode. If it went wrong, it is bettert to timeout than waiting for D_INIT to clear, where it probably hangs. Signed-off-by:York Sun <yorksun@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
Showing
- arch/powerpc/cpu/mpc85xx/ddr-gen3.c 56 additions, 24 deletionsarch/powerpc/cpu/mpc85xx/ddr-gen3.c
- arch/powerpc/cpu/mpc8xxx/ddr/main.c 11 additions, 1 deletionarch/powerpc/cpu/mpc8xxx/ddr/main.c
- arch/powerpc/cpu/mpc8xxx/ddr/util.c 2 additions, 2 deletionsarch/powerpc/cpu/mpc8xxx/ddr/util.c
- arch/powerpc/include/asm/fsl_ddr_sdram.h 2 additions, 0 deletionsarch/powerpc/include/asm/fsl_ddr_sdram.h
Please register or sign in to comment