From: sbabic at denx.de Date: Mon, 8 Jun 2020 19:23:21 +0200 (CEST) Subject: [PATCH] ARM: imx: ddr: Add missing PHY reset In-Reply-To: <20200530001448.797312-1-marex@denx.de> Message-ID: <20200608172321.5732A81C8F@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team > Cc: Peng Fan > Cc: Stefano Babic Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================