u-boot-brain/arch/arm/cpu/armv7/mx6
Nikita Kiryanov 07ee927d2c 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 <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
2014-09-09 15:35:00 +02:00
..
clock.c mx6: add clock enabling functions 2014-09-09 15:32:32 +02:00
ddr.c arm: mx6: ddr: fix cs0_end calculation 2014-09-09 15:35:00 +02:00
hab.c imx: correct HAB status for new chip TO 2014-06-17 17:45:09 +02:00
Makefile mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
mp.c mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00
soc.c mx6: add support of multi-processor command 2014-08-20 11:52:54 +02:00