commit | 016095dba9f5a77f3521a2b428672b7c6cc6be60 | [log] [tgz] |
---|---|---|
author | York Sun <yorksun@freescale.com> | Mon Oct 08 07:44:24 2012 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Mon Oct 22 14:31:27 2012 -0500 |
tree | 61e6f45481b4efa6949c5456fe81dcf0135480e6 | |
parent | 98df4d11e8d7d4565491557fd99f202bdc636748 [diff] |
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>