commit | 16502a0b2bcea3e2aa8736871f350196cab262fe | [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 | 7c89c2d9cef93d035ee68da128e285eaa89cee2f [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>