]> git.baikalelectronics.ru Git - uboot.git/commit
board: verdin-imx8mp: update lpddr4 configuration and training
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Mon, 3 Apr 2023 12:01:55 +0000 (14:01 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Apr 2023 07:35:39 +0000 (09:35 +0200)
commita2c59846e5a2645f2bd00f3e77dade68c9e8893b
tree418ec4661de35a9e59b4e56ffbf1d7704594e0cf
parenta6a64d879cea1d8a6520c9f506a0ce736115a58a
board: verdin-imx8mp: update lpddr4 configuration and training

Update LPDDR4 configuration and training using updated spreadsheet and
tools from NXP using data from previous spreadsheet and verified
toward datasheet:
 - MX8M_Plus_LPDDR4_RPA_v9.xlsx
 - mscale_ddr_tool_v3.30.exe

From:
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467

Some register values differ due to these fixes/modifications:

- corrected calculation of T_CKPDX parameter (equal to tCKCKEH for LPDDR4)
- corrected ECC related items, none of which affect normal operation
  when ECC is not enabled
- corrected formula for calculation of tRTP in cell D122

Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
board/toradex/verdin-imx8mp/lpddr4_timing.c