commit | 880e46f2d33c382a1acb449e277cf4f535b5c62a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Fri Jul 17 00:45:11 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:14 2015 +0200 |
tree | c24bbf8504ba886e8b5ac6b8cf816ede2851a0fb | |
parent | d32badbd80e7089e4d240501d0a6bc36a4f03ed3 [diff] |
ddr: altera: Rework initialize_tracking() Clean the function up by getting rid of all the insane XOR-leftshift combos when assembling register values. While at it, remove all the ad-hoc variables necessary for this XOR-leftshift voodoo. Finally, get rid of the iterative division implementation of two constants and replace it with a DIV_ROUND_UP() macro :-) Signed-off-by: Marek Vasut <marex@denx.de>