summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2011-02-04 13:57:59 -0800
committerKumar Gala <galak@kernel.crashing.org>2011-04-04 09:24:41 -0500
commitdea8bd627c26bb2d17d7079b374352301af4a028 (patch)
treebff7abca69ea2ba5a11772c1d0b4452ea3a1c9df
parent7639675131673e8f1582d760203a9af34fba9e79 (diff)
downloadu-boot-imx-dea8bd627c26bb2d17d7079b374352301af4a028.zip
u-boot-imx-dea8bd627c26bb2d17d7079b374352301af4a028.tar.gz
u-boot-imx-dea8bd627c26bb2d17d7079b374352301af4a028.tar.bz2
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. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--board/freescale/corenet_ds/p4080ds_ddr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/board/freescale/corenet_ds/p4080ds_ddr.c b/board/freescale/corenet_ds/p4080ds_ddr.c
index ccb9da8..844e1d7 100644
--- a/board/freescale/corenet_ds/p4080ds_ddr.c
+++ b/board/freescale/corenet_ds/p4080ds_ddr.c
@@ -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}
};