diff options
Diffstat (limited to 'board/stxgp3/ddr.c')
-rw-r--r-- | board/stxgp3/ddr.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/board/stxgp3/ddr.c b/board/stxgp3/ddr.c index 45372f4..93d1100 100644 --- a/board/stxgp3/ddr.c +++ b/board/stxgp3/ddr.c @@ -10,6 +10,7 @@ #include <i2c.h> #include <asm/fsl_ddr_sdram.h> +#include <asm/fsl_ddr_dimm_params.h> static void get_spd(ddr1_spd_eeprom_t *spd, unsigned char i2c_address) @@ -40,7 +41,9 @@ fsl_ddr_get_spd(ddr1_spd_eeprom_t *ctrl_dimms_spd, } } -void fsl_ddr_board_options(memctl_options_t *popts, unsigned int ctrl_num) +void fsl_ddr_board_options(memctl_options_t *popts, + dimm_params_t *pdimm, + unsigned int ctrl_num) { /* * Factors to consider for CPO: @@ -62,6 +65,9 @@ void fsl_ddr_board_options(memctl_options_t *popts, unsigned int ctrl_num) */ popts->write_data_delay = 3; + /* 2T timing enable */ + popts->twoT_en = 1; + /* * Factors to consider for half-strength driver enable: * - number of DIMMs installed |