powerpc/85xx: Update fixed DDR3 timing table for P4080DS
PATCH 1/1 powerpc/85xx: Update fixed DDR3 timing table for P4080DS
Most of time U-boot doesn't get an exact clock number. For example, clock 900MHz may be detected as 899.99MHz. 800MHz could be 799.99MHz. Update the table to align the desired clocks in the middle.
--- board/freescale/corenet_ds/p4080ds_ddr.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-)
board/freescale/corenet_ds/p4080ds_ddr.c +8 -8
@@ -334,17 +334,17 @@ fsl_ddr_cfg_regs_t ddr_cfg_regs_1200_2nd = { };fixed_ddr_parm_t fixed_ddr_parm_0[] = { - {800 ,900 , &ddr_cfg_regs_800}, - {900 ,1000 , &ddr_cfg_regs_900}, - {1000 ,1200 , &ddr_cfg_regs_1000}, - {1200 ,1300 , &ddr_cfg_regs_1200}, + {750 ,850 , &ddr_cfg_regs_800}, + {850 ,950 , &ddr_cfg_regs_900}, + {950 ,1050 , &ddr_cfg_regs_1000}, + {1050 ,1250 , &ddr_cfg_regs_1200}, {0 ,0 ,NULL } };fixed_ddr_parm_t fixed_ddr_parm_1[] = { - {800 ,900 , &ddr_cfg_regs_800_2nd}, - {900 ,1000 , &ddr_cfg_regs_900_2nd}, - {1000 ,1200 , &ddr_cfg_regs_1000_2nd}, - {1200 ,1300 , &ddr_cfg_regs_1200_2nd}, + {750 ,850 , &ddr_cfg_regs_800_2nd}, + {850 ,950 , &ddr_cfg_regs_900_2nd}, + {950 ,1050 , &ddr_cfg_regs_1000_2nd}, + {1050 ,1250 , &ddr_cfg_regs_1200_2nd}, {0 ,0 ,NULL } };
Signature · 1 line
1.7.0.4
PATCH 1/1 powerpc/8xxx: Display DIMM model
Beside displaying RDIMM or UDIMM, this patch adds display of the model numbers embedded in SPD.
--- .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-)
arch/powerpc/cpu/mpc8xxx/ddr/lc_common_dimm_params.c +7 -4
@@ -207,10 +207,15 @@ compute_lowest_common_dimm_parameters(const dimm_params_t *dimm_params, temp1 = temp2 =0 ;for (i =0 ; i < number_of_dimms; i++) {if (dimm_params[i].n_ranks) { -if (dimm_params[i].registered_dimm) +if (dimm_params[i].registered_dimm) { temp1 =1 ; -if (!dimm_params[i].registered_dimm) +printf ("Detected RDIMM %s\n" , + dimm_params[i].mpart); + }else { temp2 =1 ; +printf ("Detected UDIMM %s\n" , + dimm_params[i].mpart); + } } }
@@ -218,10 +223,8 @@ compute_lowest_common_dimm_parameters(const dimm_params_t *dimm_params, outpdimm->all_DIMMs_unbuffered =0 ;if (temp1 && !temp2) { outpdimm->all_DIMMs_registered =1 ; -printf ("Detected RDIMM(s)\n" ); }else if (!temp1 && temp2) { outpdimm->all_DIMMs_unbuffered =1 ; -printf ("Detected UDIMM(s)\n" ); }else {printf ("ERROR: Mix of registered buffered and unbuffered " "DIMMs detected!\n" );
Signature · 1 line
1.7.0.4
Kumar Gala
AppliedPATCH 1/1 powerpc/85xx: Update fixed DDR3 timing table for P4080DS
In reply to York SunQuoted 8 lines · York Sun
Most of time U-boot doesn't get an exact clock number. For example, clock 900MHz may be detected as 899.99MHz. 800MHz could be 799.99MHz. Update the table to align the desired clocks in the middle.
Signed-off-by York Sun <[email protected]>---
board/freescale/corenet_ds/p4080ds_ddr.c| 16 ++++++++--------1 files changed, 8 insertions(+), 8 deletions(-)
applied to 85xx next
- k
Kumar Gala
AppliedPATCH 1/1 powerpc/8xxx: Display DIMM model
In reply to York SunQuoted 7 lines · York Sun
Beside displaying RDIMM or UDIMM, this patch adds display of the model numbers embedded in SPD.
Signed-off-by York Sun <[email protected]>---
.../cpu/mpc8xxx/ddr/lc_common_dimm_params.c| 11 +++++++----1 files changed, 7 insertions(+), 4 deletions(-)
applied to 85xx next
- k