summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNikita Kiryanov <[email protected]>2014-08-20 15:08:58 +0300
committerStefano Babic <[email protected]>2014-09-09 15:35:00 +0200
commit07ee927d2c319b477232affad7d3b6119ac079c9 (patch)
tree937f9fb2cbf4f48d55e47cca4aead70f40daeaa5 /include
parent08155289a453acee836179553131e9d51ab02a52 (diff)
arm: mx6: ddr: fix cs0_end calculation
Current way of calculation CS0_END field for MMDCx_MDASP register is problematic because in most cases the user is forced to define cs_density in an unnatural way: as value - 2, instead of value. This breaks the abstraction provided by struct mx6_ddr_sysinfo because the user is forced to be aware of the way the calculation is performed. Refactor the calculation. Cc: Stefano Babic <[email protected]> Cc: Tim Harvey <[email protected]> Signed-off-by: Nikita Kiryanov <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions