commit | 0f0840dcab03309f239f5b0ff9431d9003b2276c | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Fri Jul 17 01:57:41 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:14 2015 +0200 |
tree | e51aa5775dfdcb9c1bc678286a77304e7ffdff21 | |
parent | fe5aa45f1ffafdc22bbebd61f65d7b1539673e7e [diff] |
ddr: altera: Clean up mem_config() Clean mem_config() function. First, reorder the math done in the function such that WLAT and RLAT computation is together. Then, scrap contradictory comments which do not match the result of the math at all. Next, extract the mem_precharge_and_activate() call from the end of the function as it is completely unrelated here. Finally, rename the function to mem_init_latency(). Signed-off-by: Marek Vasut <marex@denx.de>