Hi
I am trying to interface Elpida DDR2 EDB8164B3PF with OMAP4460, for this do I need to make changes to x-loader src code?
In the file <x-loader_src>/cpu/sdram_elpida.c, some const ddr_register structure are defined:
eg,
const struct ddr_regs ddr_regs_elpida4G_400_mhz_1cs = {
.tim1 = 0x10eb0662,
.tim2 = 0x20370dd2,
.tim3 = 0x00b1c33f,
.phy_ctrl_1 = 0x449FF408,
.ref_ctrl = 0x00000618,
.config_init = 0x80800eb2,
.config_final = 0x80801ab2,
.zq_config = 0x500b3215,
.mr1 = 0x83,
.mr2 = 0x4
}; ......and many more
So from where these values i.e. tim1,tim2,phy_ctrl1,mr1.....etc are calculated?
I have explored the datasheet for the respective part no, but haven't found anything useful. Are these values computed from EMIF specs?