mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
ddr: altera: Configuring SDRAM extra cycles timing parameters
To enable configuration of sdr.ctrlcfg.extratime1 register which enable extra clocks for read to write command timing. This is critical to ensure successful LPDDR2 interface Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Marek Vasut <marex@denx.de> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
This commit is contained in:

committed by
Marek Vasut

parent
5ac5861c4b
commit
89a54abf1b
@ -418,6 +418,9 @@ static void sdr_load_regs(const struct socfpga_sdram_config *cfg)
|
||||
|
||||
debug("Configuring DRAMODT\n");
|
||||
writel(cfg->dram_odt, &sdr_ctrl->dram_odt);
|
||||
|
||||
debug("Configuring EXTRATIME1\n");
|
||||
writel(cfg->extratime1, &sdr_ctrl->extratime1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user