X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Ffreescale%2Fmpc8540ads%2Fddr.c;h=93d1100717f8fe5216574c9ccfca3bd05074a993;hb=7529b4445bc4525765b003d3269bcf37fc33fac5;hp=45372f42713cafad729a03924cfe5bb87e96b7b8;hpb=0ba6bfef061872dbe04e6bebbb225806c7fa34ec;p=oweals%2Fu-boot.git diff --git a/board/freescale/mpc8540ads/ddr.c b/board/freescale/mpc8540ads/ddr.c index 45372f4271..93d1100717 100644 --- a/board/freescale/mpc8540ads/ddr.c +++ b/board/freescale/mpc8540ads/ddr.c @@ -10,6 +10,7 @@ #include #include +#include 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