mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00: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:
parent
064d031ca6
commit
e32d59a2fa
4 changed files with 64 additions and 0 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue