commit | b0563cfdafe60d21eaf6532d8008691fe104ed99 | [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 | e5f2cf7ee47e8ed70d4749f8aaa339e3b6ccdd37 [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>