diff options
author | York Sun <york.sun@nxp.com> | 2017-05-25 17:03:23 -0700 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-06-12 11:30:00 -0700 |
commit | 7c8e0e052853a181e379735f25cfe85dfb575e1c (patch) | |
tree | 0edef07ffcea772b16701bfd6cc81f2ff22b7923 /drivers/ddr/fsl/interactive.c | |
parent | 216b0d8cc9bc8ce9b05c7a1b38b0912614ec1b93 (diff) | |
download | u-boot-7c8e0e052853a181e379735f25cfe85dfb575e1c.zip u-boot-7c8e0e052853a181e379735f25cfe85dfb575e1c.tar.gz u-boot-7c8e0e052853a181e379735f25cfe85dfb575e1c.tar.bz2 |
driver: ddr: fsl: Fix compiling error for DDR2
Fix compiling error of "no member named 'taamin_ps'" for DDR2.
Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/ddr/fsl/interactive.c')
-rw-r--r-- | drivers/ddr/fsl/interactive.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/interactive.c b/drivers/ddr/fsl/interactive.c index 202ad13..653bbab 100644 --- a/drivers/ddr/fsl/interactive.c +++ b/drivers/ddr/fsl/interactive.c @@ -154,7 +154,9 @@ static void lowest_common_dimm_parameters_edit(fsl_ddr_info_t *pinfo, static const struct options_string options[] = { COMMON_TIMING(tckmin_x_ps), COMMON_TIMING(tckmax_ps), +#if defined(CONFIG_SYS_FSL_DDR3) || defined(CONFIG_SYS_FSL_DDR4) COMMON_TIMING(taamin_ps), +#endif COMMON_TIMING(trcd_ps), COMMON_TIMING(trp_ps), COMMON_TIMING(tras_ps), @@ -422,7 +424,9 @@ static void print_lowest_common_dimm_parameters( const common_timing_params_t *plcd_dimm_params) { static const struct options_string options[] = { +#if defined(CONFIG_SYS_FSL_DDR3) || defined(CONFIG_SYS_FSL_DDR4) COMMON_TIMING(taamin_ps), +#endif COMMON_TIMING(trcd_ps), COMMON_TIMING(trp_ps), COMMON_TIMING(tras_ps), |