summaryrefslogtreecommitdiff
path: root/board/xes/xpedite550x
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2011-06-27 13:30:55 -0700
committerKumar Gala <galak@kernel.crashing.org>2011-07-11 13:24:20 -0500
commit939e5bf9b3e04389b0262bc5634599dd0ab9c8e2 (patch)
tree1353cd823440adeb2b1c2105df46e4c726468a1b /board/xes/xpedite550x
parent79fa00af5d0317903c7765f5b502bf39e38e64cd (diff)
downloadu-boot-imx-939e5bf9b3e04389b0262bc5634599dd0ab9c8e2.zip
u-boot-imx-939e5bf9b3e04389b0262bc5634599dd0ab9c8e2.tar.gz
u-boot-imx-939e5bf9b3e04389b0262bc5634599dd0ab9c8e2.tar.bz2
powerpc/mpc85xx: Display a warning for unsupported DDR data rates
If DDR initialziation uses a speed table and the speed is not matched, print a warning message instead of silently ignoring. Signed-off-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/xes/xpedite550x')
-rw-r--r--board/xes/xpedite550x/ddr.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/xes/xpedite550x/ddr.c b/board/xes/xpedite550x/ddr.c
index 3b6e08b..8031a34 100644
--- a/board/xes/xpedite550x/ddr.c
+++ b/board/xes/xpedite550x/ddr.c
@@ -125,10 +125,16 @@ void fsl_ddr_board_options(memctl_options_t *popts,
popts->clk_adjust = pbsp->clk_adjust;
popts->cpo_override = pbsp->cpo;
popts->twoT_en = 0;
+ break;
}
pbsp++;
}
+ if (i == num_params) {
+ printf("Warning: board specific timing not found "
+ "for data rate %lu MT/s!\n", ddr_freq);
+ }
+
/*
* Factors to consider for half-strength driver enable:
* - number of DIMMs installed