u-boot/arch/arm/cpu/armv7/mx6
Eric Nelson 7f17fb7400 mx6: ddr: pass mx6_ddr_sysinfo to calibration routines
The DDR calibration routines have scattered support for bus
widths other than 64-bits:

-- The mmdc_do_write_level_calibration() routine assumes the
presence of PHY1, and
-- The mmdc_do_dqs_calibration() routine tries to determine
whether one or two DDR PHYs are active by reading MDCTL.

Since a caller of these routines must have a valid struct mx6_ddr_sysinfo
for use in calling mx6_dram_cfg(), and the bus width is available in the
"dsize" field, use this structure to inform the calibration routines which
PHYs are active.

This allows the use of the DDR calibration routines on CPU variants
like i.MX6SL that only have a single MMDC port.

Signed-off-by: Eric Nelson <eric@nelint.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2016-11-29 16:40:12 +01:00
..
clock.c imx: mx6sx: Disable ENET clock before switching clock parent 2016-11-16 20:53:55 +01:00
ddr.c mx6: ddr: pass mx6_ddr_sysinfo to calibration routines 2016-11-29 16:40:12 +01:00
Kconfig engicam: icorem6: Add DM_GPIO, DM_MMC support 2016-10-26 16:53:16 +02:00
Makefile imx: hab: rework secure boot support for imx6 2015-10-30 15:20:57 +01:00
mp.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
soc.c imx: mx6ull: update the REFTOP_VBGADJ setting 2016-11-16 20:53:55 +01:00