projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[oweals/u-boot.git]
/
board
/
freescale
/
mpc8540ads
/
ddr.c
diff --git
a/board/freescale/mpc8540ads/ddr.c
b/board/freescale/mpc8540ads/ddr.c
index 45372f42713cafad729a03924cfe5bb87e96b7b8..93d1100717f8fe5216574c9ccfca3bd05074a993 100644
(file)
--- a/
board/freescale/mpc8540ads/ddr.c
+++ b/
board/freescale/mpc8540ads/ddr.c
@@
-10,6
+10,7
@@
#include <i2c.h>
#include <asm/fsl_ddr_sdram.h>
#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)
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:
{
/*
* 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;
*/
popts->write_data_delay = 3;
+ /* 2T timing enable */
+ popts->twoT_en = 1;
+
/*
* Factors to consider for half-strength driver enable:
* - number of DIMMs installed
/*
* Factors to consider for half-strength driver enable:
* - number of DIMMs installed