Files
u-boot/arch/arm/include/asm
Ilya Ledvich 58c86c7d1d am33xx: fix the ddr_cmdtctrl structure
Fix the wrong mapping between the DDR I/O control registers on AM33XX
SoCs and the software representation in the SPL code.
The most recent public TRM defines the following DDR I/O control registers
offsets:
 * ddr_cmd0_ioctrl : offset 0x44E11404
 * ddr_cmd1_ioctrl : offset 0x44E11408
 * ddr_cmd2_ioctrl : offset 0x44E1140C
 * ddr_data0_ioctrl: offset 0x44E11440
 * ddr_data1_ioctrl: offset 0x44E11444

While the struct ddr_cmdtctrl has also some reserved bits in the beginning.
The struct is mapped to the address 0x44E11404. As a result "cm0ioctl" points
to the ddr_cmd1_ioctrl register, "cm1ioctl" to the ddr_cmd2_ioctrl and etc.
Registers ddr_cmd0_ioctrl and ddr_data0_ioctrl are never configured because
of this mapping mismatch.

Signed-off-by: Ilya Ledvich <ilya@compulab.co.il>
Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-02 09:21:16 -04:00
..
2012-03-26 23:09:26 +02:00
2013-06-26 17:34:21 +02:00
2013-04-28 11:07:41 +02:00
2011-07-16 13:00:11 +02:00
2013-05-14 15:37:25 -04:00
2011-11-29 15:43:38 +01:00
2012-05-15 08:31:26 +02:00
2013-04-12 07:55:08 +02:00
2012-11-20 00:16:08 +01:00
2011-07-04 10:55:25 +02:00
2013-03-15 16:13:54 -04:00
2013-03-15 16:14:00 -04:00