1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-20 01:14:39 +02:00

driver/ddr/fsl: Add sync of refresh

Add sync of refresh for multiple DDR controllers. DDRC initialization
needs to complete first. Code is re-ordered to keep refresh close.

Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
York Sun
2015-01-06 13:18:55 -08:00
parent 064d031ca6
commit e32d59a2fa
4 changed files with 64 additions and 0 deletions

View File

@@ -692,6 +692,10 @@ phys_size_t __fsl_ddr_sdram(fsl_ddr_info_t *pinfo)
}
}
#ifdef CONFIG_FSL_DDR_SYNC_REFRESH
fsl_ddr_sync_memctl_refresh(first_ctrl, last_ctrl);
#endif
#ifdef CONFIG_PPC
/* program LAWs */
for (i = first_ctrl; i <= last_ctrl; i++) {