diff options
author | Marek Vasut <marex@denx.de> | 2015-07-20 08:03:11 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:15 +0200 |
commit | b2dfd100bc43863f467f552a7bb26932810f2f5e (patch) | |
tree | acb75eb92c82dc1da6ff361b8698b8d42e6d8a84 /drivers/pci | |
parent | 4b0ac26a15a74664e51b49f1698fc42776edd3bc (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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions