u-boot/arch/arm/cpu/armv7
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
..
bcm235xx treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
bcm281xx treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
bcmcygnus arm: bcmcygnus: Add bcmcygnus u-architecture 2014-08-30 07:46:40 -04:00
bcmnsp arm: bcmnsp: Add bcmnsp u-architecture 2014-08-30 07:46:40 -04:00
iproc-common arm: iproc: Initial commit of iproc architecture code 2014-08-30 07:46:40 -04:00
kona-common board: arm:: Add support for Broadcom BCM23550 2016-06-13 08:56:02 -04:00
ls102xa armv7: ls1021a: Move DDR config options to Kconfig 2016-10-06 09:59:11 -07:00
mx5 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mx6 mx6: ddr: pass mx6_ddr_sysinfo to calibration routines 2016-11-29 16:40:12 +01:00
mx7 treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
s5p-common exynos: pwm: Add a driver for the exynos5 PWM 2016-05-25 13:25:18 +09:00
stv0991 stv0991: configure clock & pad muxing for qspi 2015-07-03 13:50:53 +05:30
sunxi ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
vf610 ARM: vf610: use strcpy for soc environment variable 2016-10-07 15:56:52 +02:00
arch_timer.c arm: add support for arch timer 2014-04-17 17:24:38 -04:00
cache_v7.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
cache_v7_asm.S arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_INVAL_ALL) with asm code 2016-04-11 20:48:27 -04:00
config.mk ARM: move -march=* and -mtune= options to arch/arm/Makefile 2015-03-27 16:55:22 +01:00
cp15.c ARM: Introduce erratum workaround for 454179 2015-03-13 09:28:48 -04:00
cpu.c arm: Turn of d-cache before i-cache 2015-09-02 21:28:25 -06:00
Kconfig ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig 2016-09-07 08:48:54 -04:00
lowlevel_init.S ARM: Respect CONFIG_SPL_STACK define in lowlevel_init.S 2016-10-06 20:57:36 -04:00
Makefile arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
nonsec_virt.S ARM: PSCI: Split out common stack setup code from psci_arch_init 2016-07-15 15:54:56 +02:00
psci-common.c ARM: Rework and correct barrier definitions 2016-08-05 07:23:57 -04:00
psci.S armv7: psci: make v7_flush_dcache_all public for all psci code 2016-09-14 14:07:29 -07:00
start.S ARM: Introduce function to switch to hypervisor mode 2016-10-06 20:58:16 -04:00
syslib.c ARM: OMAP: hide custom bit manipulation function sr32() 2014-04-17 14:39:54 -04:00
virt-dt.c ARMv8/PSCI: Fixup the device tree for PSCI 2016-07-19 11:34:07 -07:00
virt-v7.c ARM: non-sec: flush code cacheline aligned 2016-08-12 09:22:15 -04:00