]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc/85xx: Update fixed DDR3 timing table for P4080DS
authorYork Sun <yorksun@freescale.com>
Fri, 4 Feb 2011 21:57:59 +0000 (13:57 -0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:41 +0000 (09:24 -0500)
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 <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/corenet_ds/p4080ds_ddr.c

index ccb9da832ce8cea6ee7b48c047dff5d535cb9147..844e1d736a7a54752105a546cf86cbee70469255 100644 (file)
@@ -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}
 };