]> git.dujemihanovic.xyz Git - u-boot.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)
commit390bb9fcc031b82119b501d07d80c3b0f75fbf32
tree418ec4661de35a9e59b4e56ffbf1d7704594e0cf
parentcfa3723163c2e6bc66493944a4f8ea4cb9c973bd
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