u-boot/arch/arm/mach-imx/mx7
Marek Vasut 0e06d63d19 ARM: imx: ddr: Add missing PHY reset
The iMX7D RM 9.2.4.9.3 Power removal flow Table 9-11. Re-enabling power
explicitly says both the DDR controller and the PHY must be reset in the
correct sequence. Currently the code only resets the controller. This
leads to a misbehavior where the system brings the DRAM up after reboot,
but the DRAM is unstable. Add the missing reset.

The easiest way to trigger this is by triggering WDT without having the
WDT assert WDOG_B signal, i.e. mw.w 0x30280000 0x25 .

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2020-06-08 10:42:54 +02:00
..
clock.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
clock_slice.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ddr.c ARM: imx: ddr: Add missing PHY reset 2020-06-08 10:42:54 +02:00
Kconfig Add i.MX7D based Meerkat96 board support 2019-10-13 22:49:11 +02:00
Makefile imx: mx7: add system suspend/resume support 2018-09-04 08:47:23 +02:00
psci-mx7.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
psci-suspend.S imx: mx7: add system suspend/resume support 2018-09-04 08:47:23 +02:00
snvs.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
soc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00