mx6: add structs for mmdc and ddr iomux registers
authorTim Harvey <tharvey@gateworks.com>
Mon, 2 Jun 2014 23:13:22 +0000 (16:13 -0700)
committerStefano Babic <sbabic@denx.de>
Fri, 6 Jun 2014 08:07:25 +0000 (10:07 +0200)
commit8d05b161fc4633788bcad133efdf8d76fc40237f
treebd07a5e7faad3015e7eb2428599094a097d00461
parentb07161c321d9bc4ca5c610087b5d4e0566402d20
mx6: add structs for mmdc and ddr iomux registers

Add memory-mapped structures for MMDC iomux and configuration. Note that whi
the MMDC configuration registers are common between the IMX6DQ
(IMX6DUAL/IMX6QUAD) and IMX6SDL (IMX6SOLO/IMX6DUALLITE) types the iomux
registers differ. This requires two sets of structures.

Add structures to describe DDR3 device information, system information
(memory layout, etc), and MMDC calibration registers that can be used to
configure the MMDC dynamically.

We define these structures for SPL builds instead of including mx6q-ddr.h an
mx6dl-ddr.h which use the same namespace and are only useful for imximage cf
files.

Cc: Stefan Roese <sr@denx.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Andy Ng <andreas2025@gmail.com>
Cc: Eric Nelson <eric.nelson@boundarydevices.com>
Cc: Tapani Utriainen <tapani@technexion.com>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
arch/arm/include/asm/arch-mx6/mx6-ddr.h