commit | 0b5e25796a985cc841e63ec2b4cdc37af3a90f50 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Mon Jul 20 08:03:11 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:15 2015 +0200 |
tree | acb75eb92c82dc1da6ff361b8698b8d42e6d8a84 | |
parent | be333bcbf527b9aaa0a2945969dfcaf646d7b564 [diff] |
ddr: altera: Clean up set_rank_and_odt_mask() part 1 First, invert the logic of the if (odt_mode == ...) conditional to make the OFF mode harder to miss. It is a short piece of code right at the end, so move it up. Also, clean up data types and constify where applicable and clean up the cs_and_odt_mask assignment. No functional change. Signed-off-by: Marek Vasut <marex@denx.de>