u-boot-brain/arch/arm/include/asm/arch-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.h imx: mx6: Fix procedure to switch the parent of LDB_DI_CLK 2016-04-19 16:05:12 +02:00
crm_regs.h imx: mx6ull: update the REFTOP_VBGADJ setting 2016-11-16 20:53:55 +01:00
gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
imx-rdc.h imx: mx6sx Add RDC mappings of masters and peripherals 2016-02-21 11:46:26 +01:00
imx-regs.h imx: iomux: fix snvs usage for i.MX6ULL 2016-10-04 15:41:01 +02:00
iomux.h pci: pcie_imx: Fix hang on mx6qp 2015-10-15 09:05:13 -04:00
mx6_plugin.S imx: mx6: Add plugin support 2016-10-24 10:57:16 +02:00
mx6-ddr.h mx6: ddr: pass mx6_ddr_sysinfo to calibration routines 2016-11-29 16:40:12 +01:00
mx6-pins.h imx: mx6ull: add iomux header file 2016-10-04 15:40:59 +02:00
mx6dl_pins.h i.MX6DL/S: add drive-strength back to pads DISP0_DAT2/DAT10 2014-07-10 15:23:56 +02:00
mx6dl-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6q_pins.h imx6 SION bit has to be on for the pins that are used as ENET_REF_CLK 2014-02-19 10:57:25 +01:00
mx6q-ddr.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mx6sl_pins.h imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5 2016-05-17 17:52:19 +02:00
mx6sl-ddr.h imx: mx6: ddr add dram io configuration and header file for i.MX6SL 2015-09-02 15:34:12 +02:00
mx6sx_pins.h imx: mx6sx enable SION for i2c pin mux 2015-05-19 15:13:24 +02:00
mx6sx_rdc.h imx: mx6sx Add RDC mappings of masters and peripherals 2016-02-21 11:46:26 +01:00
mx6sx-ddr.h mx6: Add support for the mx6solox variant 2014-07-10 15:29:16 +02:00
mx6ul_pins.h imx: mx6ul: Add pins IOMUX head file 2015-08-02 11:05:06 +02:00
mx6ul-ddr.h imx:mx6ul add dram spl configuration and header file 2015-08-02 11:05:09 +02:00
mx6ull_pins.h imx: mx6ull: add iomux header file 2016-10-04 15:40:59 +02:00
mxc_hdmi.h Merge git://git.denx.de/u-boot-arm 2013-07-31 11:30:38 +02:00
sys_proto.h imx-common: consolidate macros and prototypes into sys_proto.h 2015-09-02 15:29:14 +02:00